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

Unified Diff: test/cctest/test-serialize.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-run-wasm-relocation-x64.cc ('k') | test/cctest/test-simulator-arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-serialize.cc
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc
index 02bb780a0ee2af1f3b2a3899f5df0a3ad3fdae76..1de3a715272988ffc02d3282f789cc93ff097ff6 100644
--- a/test/cctest/test-serialize.cc
+++ b/test/cctest/test-serialize.cc
@@ -1877,7 +1877,7 @@ TEST(CodeSerializerCell) {
masm->movp(rax, Operand(rax, 0));
masm->ret(0);
CodeDesc desc;
- masm->GetCode(&desc);
+ masm->GetCode(isolate, &desc);
code = isolate->factory()->NewCode(desc, Code::ComputeFlags(Code::FUNCTION),
masm->CodeObject());
code->set_has_reloc_info_for_serialization(true);
@@ -1926,7 +1926,7 @@ TEST(CodeSerializerEmbeddedObject) {
MacroAssembler* masm = &assembler;
masm->Push(number);
CodeDesc desc;
- masm->GetCode(&desc);
+ masm->GetCode(isolate, &desc);
code = isolate->factory()->NewCode(desc, Code::ComputeFlags(Code::FUNCTION),
masm->CodeObject());
code->set_has_reloc_info_for_serialization(true);
« no previous file with comments | « test/cctest/test-run-wasm-relocation-x64.cc ('k') | test/cctest/test-simulator-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698