Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: test/cctest/test-disasm-arm64.cc

Issue 2900683002: [compiler] Delay allocation of code-embedded heap numbers. (Closed)
Patch Set: Fix rebase. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/test-code-stubs-x64.cc ('k') | test/cctest/test-disasm-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-disasm-arm64.cc
diff --git a/test/cctest/test-disasm-arm64.cc b/test/cctest/test-disasm-arm64.cc
index 58570d9c902d2c4868228d38afe75de89c75926e..f7163b9517003dab6f24f24bcc07251a8fcb12cf 100644
--- a/test/cctest/test-disasm-arm64.cc
+++ b/test/cctest/test-disasm-arm64.cc
@@ -71,28 +71,28 @@ using namespace v8::internal;
DisassemblingDecoder* disasm = new DisassemblingDecoder(); \
decoder->AppendVisitor(disasm)
-#define COMPARE(ASM, EXP) \
- assm->Reset(); \
- assm->ASM; \
- assm->GetCode(NULL); \
- decoder->Decode(reinterpret_cast<Instruction*>(buf)); \
- encoding = *reinterpret_cast<uint32_t*>(buf); \
- if (strcmp(disasm->GetOutput(), EXP) != 0) { \
- printf("%u : Encoding: %08" PRIx32 "\nExpected: %s\nFound: %s\n", \
- __LINE__, encoding, EXP, disasm->GetOutput()); \
- abort(); \
+#define COMPARE(ASM, EXP) \
+ assm->Reset(); \
+ assm->ASM; \
+ assm->GetCode(isolate, NULL); \
+ decoder->Decode(reinterpret_cast<Instruction*>(buf)); \
+ encoding = *reinterpret_cast<uint32_t*>(buf); \
+ if (strcmp(disasm->GetOutput(), EXP) != 0) { \
+ printf("%u : Encoding: %08" PRIx32 "\nExpected: %s\nFound: %s\n", \
+ __LINE__, encoding, EXP, disasm->GetOutput()); \
+ abort(); \
}
-#define COMPARE_PREFIX(ASM, EXP) \
- assm->Reset(); \
- assm->ASM; \
- assm->GetCode(NULL); \
- decoder->Decode(reinterpret_cast<Instruction*>(buf)); \
- encoding = *reinterpret_cast<uint32_t*>(buf); \
- if (strncmp(disasm->GetOutput(), EXP, strlen(EXP)) != 0) { \
- printf("%u : Encoding: %08" PRIx32 "\nExpected: %s\nFound: %s\n", \
- __LINE__, encoding, EXP, disasm->GetOutput()); \
- abort(); \
+#define COMPARE_PREFIX(ASM, EXP) \
+ assm->Reset(); \
+ assm->ASM; \
+ assm->GetCode(isolate, NULL); \
+ decoder->Decode(reinterpret_cast<Instruction*>(buf)); \
+ encoding = *reinterpret_cast<uint32_t*>(buf); \
+ if (strncmp(disasm->GetOutput(), EXP, strlen(EXP)) != 0) { \
+ printf("%u : Encoding: %08" PRIx32 "\nExpected: %s\nFound: %s\n", \
+ __LINE__, encoding, EXP, disasm->GetOutput()); \
+ abort(); \
}
#define CLEANUP() \
« no previous file with comments | « test/cctest/test-code-stubs-x64.cc ('k') | test/cctest/test-disasm-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698