conditionally compile ARM operations based on TARGET_BYTES_PER_WORD

This fixes the codegen-targets=all build regression.
This commit is contained in:
Joel Dice 2014-12-29 14:47:31 -07:00
parent d8b32f2c67
commit 8c277e2af8
2 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@
#include "fixup.h"
#include "multimethod.h"
#if AVIAN_TARGET_ARCH == AVIAN_ARCH_ARM
#if TARGET_BYTES_PER_WORD == 4
namespace avian {
namespace codegen {
@ -1445,4 +1445,4 @@ void storeLoadBarrier(Context* con)
} // namespace codegen
} // namespace avian
#endif // AVIAN_TARGET_ARCH == AVIAN_ARCH_ARM
#endif // TARGET_BYTES_PER_WORD == 4

View File

@ -14,7 +14,7 @@
#include "fixup.h"
#include "multimethod.h"
#if AVIAN_TARGET_ARCH == AVIAN_ARCH_ARM64
#if TARGET_BYTES_PER_WORD == 8
namespace {
@ -1606,4 +1606,4 @@ void storeLoadBarrier(Context* c)
} // namespace codegen
} // namespace avian
#endif // AVIAN_TARGET_ARCH == AVIAN_ARCH_ARM64
#endif // TARGET_BYTES_PER_WORD == 8