| Index: test/cctest/test-assembler-arm64.cc
|
| diff --git a/test/cctest/test-assembler-arm64.cc b/test/cctest/test-assembler-arm64.cc
|
| index 74ab84626ba3291735cfd14063af3fad1daf069f..9edc9d5fec9cec4e1027414b49417da86ad52023 100644
|
| --- a/test/cctest/test-assembler-arm64.cc
|
| +++ b/test/cctest/test-assembler-arm64.cc
|
| @@ -117,16 +117,16 @@ static void InitializeVM() {
|
| #ifdef USE_SIMULATOR
|
|
|
| // Run tests with the simulator.
|
| -#define SETUP_SIZE(buf_size) \
|
| - Isolate* isolate = CcTest::i_isolate(); \
|
| - HandleScope scope(isolate); \
|
| - DCHECK(isolate != NULL); \
|
| - byte* buf = new byte[buf_size]; \
|
| - MacroAssembler masm(isolate, buf, buf_size); \
|
| - Decoder<DispatchingDecoderVisitor>* decoder = \
|
| - new Decoder<DispatchingDecoderVisitor>(); \
|
| - Simulator simulator(decoder); \
|
| - PrintDisassembler* pdis = NULL; \
|
| +#define SETUP_SIZE(buf_size) \
|
| + Isolate* isolate = CcTest::i_isolate(); \
|
| + HandleScope scope(isolate); \
|
| + DCHECK(isolate != NULL); \
|
| + byte* buf = new byte[buf_size]; \
|
| + MacroAssembler masm(isolate, buf, buf_size, true); \
|
| + Decoder<DispatchingDecoderVisitor>* decoder = \
|
| + new Decoder<DispatchingDecoderVisitor>(); \
|
| + Simulator simulator(decoder); \
|
| + PrintDisassembler* pdis = NULL; \
|
| RegisterDump core;
|
|
|
| /* if (Cctest::trace_sim()) { \
|
| @@ -171,12 +171,12 @@ static void InitializeVM() {
|
|
|
| #else // ifdef USE_SIMULATOR.
|
| // Run the test on real hardware or models.
|
| -#define SETUP_SIZE(buf_size) \
|
| - Isolate* isolate = CcTest::i_isolate(); \
|
| - HandleScope scope(isolate); \
|
| - DCHECK(isolate != NULL); \
|
| - byte* buf = new byte[buf_size]; \
|
| - MacroAssembler masm(isolate, buf, buf_size); \
|
| +#define SETUP_SIZE(buf_size) \
|
| + Isolate* isolate = CcTest::i_isolate(); \
|
| + HandleScope scope(isolate); \
|
| + DCHECK(isolate != NULL); \
|
| + byte* buf = new byte[buf_size]; \
|
| + MacroAssembler masm(isolate, buf, buf_size, true); \
|
| RegisterDump core;
|
|
|
| #define RESET() \
|
|
|