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

Unified Diff: test/cctest/heap/test-heap.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 | « src/x64/macro-assembler-x64.cc ('k') | test/cctest/test-assembler-arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/heap/test-heap.cc
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc
index 86e0fcbde6673076f5cc548be24b3574d87d05a3..648cf863aeb187352a338ee7e3073219c8695092 100644
--- a/test/cctest/heap/test-heap.cc
+++ b/test/cctest/heap/test-heap.cc
@@ -190,7 +190,7 @@ HEAP_TEST(TestNewSpaceRefsInCopiedCode) {
masm.Push(value);
CodeDesc desc;
- masm.GetCode(&desc);
+ masm.GetCode(isolate, &desc);
Handle<Code> code = isolate->factory()->NewCode(
desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
@@ -212,7 +212,7 @@ static void CheckFindCodeObject(Isolate* isolate) {
__ nop(); // supported on all architectures
CodeDesc desc;
- assm.GetCode(&desc);
+ assm.GetCode(isolate, &desc);
Handle<Code> code = isolate->factory()->NewCode(
desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
CHECK(code->IsCode());
@@ -4337,7 +4337,7 @@ static Handle<Code> DummyOptimizedCode(Isolate* isolate) {
CodeDesc desc;
masm.Push(isolate->factory()->undefined_value());
masm.Drop(1);
- masm.GetCode(&desc);
+ masm.GetCode(isolate, &desc);
Handle<Object> undefined(isolate->heap()->undefined_value(), isolate);
Handle<Code> code = isolate->factory()->NewCode(
desc, Code::ComputeFlags(Code::OPTIMIZED_FUNCTION), undefined);
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | test/cctest/test-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698