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

Unified Diff: test/cctest/test-assembler-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-assembler-arm.cc ('k') | test/cctest/test-assembler-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-assembler-arm64.cc
diff --git a/test/cctest/test-assembler-arm64.cc b/test/cctest/test-assembler-arm64.cc
index 41b1d7cbbb758ca57f642a647be843ff9db13e41..0a88ce9fb465676952ac8a8ef44f9f987a8a5b4e 100644
--- a/test/cctest/test-assembler-arm64.cc
+++ b/test/cctest/test-assembler-arm64.cc
@@ -160,12 +160,12 @@ static void InitializeVM() {
#define RUN() \
simulator.RunFrom(reinterpret_cast<Instruction*>(buf))
-#define END() \
- __ Debug("End test.", __LINE__, TRACE_DISABLE | LOG_ALL); \
- core.Dump(&masm); \
- __ PopCalleeSavedRegisters(); \
- __ Ret(); \
- __ GetCode(NULL);
+#define END() \
+ __ Debug("End test.", __LINE__, TRACE_DISABLE | LOG_ALL); \
+ core.Dump(&masm); \
+ __ PopCalleeSavedRegisters(); \
+ __ Ret(); \
+ __ GetCode(masm.isolate(), NULL);
#define TEARDOWN() \
delete pdis; \
@@ -207,11 +207,11 @@ static void InitializeVM() {
test_function(); \
}
-#define END() \
- core.Dump(&masm); \
- __ PopCalleeSavedRegisters(); \
- __ Ret(); \
- __ GetCode(NULL);
+#define END() \
+ core.Dump(&masm); \
+ __ PopCalleeSavedRegisters(); \
+ __ Ret(); \
+ __ GetCode(masm.isolate(), NULL);
#define TEARDOWN() \
v8::base::OS::Free(buf, actual_size);
@@ -11336,7 +11336,7 @@ TEST(pool_size) {
HandleScope handle_scope(isolate);
CodeDesc desc;
- masm.GetCode(&desc);
+ masm.GetCode(isolate, &desc);
Handle<Code> code = isolate->factory()->NewCode(desc, 0, masm.CodeObject());
unsigned pool_count = 0;
« no previous file with comments | « test/cctest/test-assembler-arm.cc ('k') | test/cctest/test-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698