Index: test/cctest/test-assembler-arm64.cc |
diff --git a/test/cctest/test-assembler-arm64.cc b/test/cctest/test-assembler-arm64.cc |
index 1728a9c7e71cdf2f949c1e94de5d5921f53e79d7..41b1d7cbbb758ca57f642a647be843ff9db13e41 100644 |
--- a/test/cctest/test-assembler-arm64.cc |
+++ b/test/cctest/test-assembler-arm64.cc |
@@ -173,15 +173,15 @@ 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); \ |
- CHECK(isolate != NULL); \ |
- size_t actual_size; \ |
- byte* buf = static_cast<byte*>( \ |
- v8::base::OS::Allocate(buf_size, &actual_size, true)); \ |
- MacroAssembler masm(isolate, buf, actual_size, \ |
- v8::internal::CodeObjectRequired::kYes); \ |
+#define SETUP_SIZE(buf_size) \ |
+ Isolate* isolate = CcTest::i_isolate(); \ |
+ HandleScope scope(isolate); \ |
+ CHECK(isolate != NULL); \ |
+ size_t actual_size; \ |
+ byte* buf = static_cast<byte*>( \ |
+ v8::base::OS::Allocate(buf_size, &actual_size, true)); \ |
+ MacroAssembler masm(isolate, buf, static_cast<unsigned>(actual_size), \ |
+ v8::internal::CodeObjectRequired::kYes); \ |
RegisterDump core; |
#define RESET() \ |