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

Unified Diff: test/cctest/test-macro-assembler-mips64.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-mips.cc ('k') | test/cctest/test-macro-assembler-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-macro-assembler-mips64.cc
diff --git a/test/cctest/test-macro-assembler-mips64.cc b/test/cctest/test-macro-assembler-mips64.cc
index 37517d0d428fcc4da3b32c17f0328b0020e22313..e198f417f64f34e1854a43427e0f3f9f0b0af58a 100644
--- a/test/cctest/test-macro-assembler-mips64.cc
+++ b/test/cctest/test-macro-assembler-mips64.cc
@@ -107,7 +107,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());
@@ -159,7 +159,7 @@ TEST(LoadConstants) {
__ nop();
CodeDesc desc;
- masm->GetCode(&desc);
+ masm->GetCode(isolate, &desc);
Handle<Code> code = isolate->factory()->NewCode(
desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
@@ -204,7 +204,7 @@ TEST(LoadAddress) {
CodeDesc desc;
- masm->GetCode(&desc);
+ masm->GetCode(isolate, &desc);
Handle<Code> code = isolate->factory()->NewCode(
desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
@@ -262,7 +262,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
@@ -336,7 +336,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
@@ -428,7 +428,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
@@ -455,7 +455,7 @@ static uint64_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>());
@@ -537,7 +537,7 @@ static uint64_t run_dlsa(uint64_t rt, uint64_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>());
@@ -689,7 +689,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>());
@@ -862,7 +862,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>());
@@ -1543,7 +1543,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());
@@ -1579,7 +1579,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>());
@@ -1944,7 +1944,7 @@ bool run_Sltu(uint64_t rs, uint64_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>());
@@ -2039,7 +2039,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
@@ -2182,7 +2182,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-mips.cc ('k') | test/cctest/test-macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698