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

Unified Diff: test/cctest/test-macro-assembler-mips.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-macro-assembler-ia32.cc ('k') | test/cctest/test-macro-assembler-mips64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-macro-assembler-mips.cc
diff --git a/test/cctest/test-macro-assembler-mips.cc b/test/cctest/test-macro-assembler-mips.cc
index 2949e6e0edbfde6937e1da818060513ef9c97688..76daa8b312bec6759297bd341b2aca79ac87f5ad 100644
--- a/test/cctest/test-macro-assembler-mips.cc
+++ b/test/cctest/test-macro-assembler-mips.cc
@@ -92,7 +92,7 @@ TEST(BYTESWAP) {
__ nop();
CodeDesc desc;
- masm->GetCode(&desc);
+ masm->GetCode(isolate, &desc);
Handle<Code> code = isolate->factory()->NewCode(
desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
::F3 f = FUNCTION_CAST<::F3>(code->entry());
@@ -201,7 +201,7 @@ TEST(jump_tables4) {
__ Branch(&near_start);
CodeDesc desc;
- masm->GetCode(&desc);
+ masm->GetCode(isolate, &desc);
Handle<Code> code = isolate->factory()->NewCode(
desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
#ifdef OBJECT_PRINT
@@ -268,7 +268,7 @@ TEST(jump_tables5) {
__ nop();
CodeDesc desc;
- masm->GetCode(&desc);
+ masm->GetCode(isolate, &desc);
Handle<Code> code = isolate->factory()->NewCode(
desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
#ifdef OBJECT_PRINT
@@ -359,7 +359,7 @@ TEST(jump_tables6) {
__ Branch(&near_start);
CodeDesc desc;
- masm->GetCode(&desc);
+ masm->GetCode(isolate, &desc);
Handle<Code> code = isolate->factory()->NewCode(
desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
#ifdef OBJECT_PRINT
@@ -386,7 +386,7 @@ static uint32_t run_lsa(uint32_t rt, uint32_t rs, int8_t sa) {
__ nop();
CodeDesc desc;
- assembler.GetCode(&desc);
+ assembler.GetCode(isolate, &desc);
Handle<Code> code = isolate->factory()->NewCode(
desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
@@ -516,7 +516,7 @@ RET_TYPE run_Cvt(IN_TYPE x, Func GenerateConvertInstructionFunc) {
__ nop();
CodeDesc desc;
- assm.GetCode(&desc);
+ assm.GetCode(isolate, &desc);
Handle<Code> code = isolate->factory()->NewCode(
desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
@@ -621,7 +621,7 @@ static bool runOverflow(IN_TYPE valLeft, IN_TYPE valRight,
__ nop();
CodeDesc desc;
- assm.GetCode(&desc);
+ assm.GetCode(isolate, &desc);
Handle<Code> code = isolate->factory()->NewCode(
desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
@@ -1050,7 +1050,7 @@ TEST(min_max_nan) {
handle_snan(f16, &handle_maxs_nan, &back_maxs_nan);
CodeDesc desc;
- masm->GetCode(&desc);
+ masm->GetCode(isolate, &desc);
Handle<Code> code = isolate->factory()->NewCode(
desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
::F3 f = FUNCTION_CAST<::F3>(code->entry());
@@ -1086,7 +1086,7 @@ bool run_Unaligned(char* memory_buffer, int32_t in_offset, int32_t out_offset,
__ nop();
CodeDesc desc;
- assm.GetCode(&desc);
+ assm.GetCode(isolate, &desc);
Handle<Code> code = isolate->factory()->NewCode(
desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
@@ -1334,7 +1334,7 @@ bool run_Sltu(uint32_t rs, uint32_t rd, Func GenerateSltuInstructionFunc) {
__ nop();
CodeDesc desc;
- assm.GetCode(&desc);
+ assm.GetCode(isolate, &desc);
Handle<Code> code = isolate->factory()->NewCode(
desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
@@ -1429,7 +1429,7 @@ static ::F4 GenerateMacroFloat32MinMax(MacroAssembler* masm) {
__ Branch(&done_max_aba);
CodeDesc desc;
- masm->GetCode(&desc);
+ masm->GetCode(masm->isolate(), &desc);
Handle<Code> code = masm->isolate()->factory()->NewCode(
desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
#ifdef DEBUG
@@ -1572,7 +1572,7 @@ static ::F4 GenerateMacroFloat64MinMax(MacroAssembler* masm) {
__ Branch(&done_max_aba);
CodeDesc desc;
- masm->GetCode(&desc);
+ masm->GetCode(masm->isolate(), &desc);
Handle<Code> code = masm->isolate()->factory()->NewCode(
desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
#ifdef DEBUG
« no previous file with comments | « test/cctest/test-macro-assembler-ia32.cc ('k') | test/cctest/test-macro-assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698