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

Side by Side Diff: test/cctest/test-code-stubs-mips64.cc

Issue 2900683002: [compiler] Delay allocation of code-embedded heap numbers. (Closed)
Patch Set: Fix rebase. Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « test/cctest/test-code-stubs-mips.cc ('k') | test/cctest/test-code-stubs-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Rrdistribution and use in source and binary forms, with or without 2 // Rrdistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Rrdistributions of source code must retain the above copyright 6 // * Rrdistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Rrdistributions in binary form must reproduce the above 8 // * Rrdistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 // Restore callee save registers. 131 // Restore callee save registers.
132 __ MultiPop(kCalleeSaved | ra.bit()); 132 __ MultiPop(kCalleeSaved | ra.bit());
133 133
134 Label ok1; 134 Label ok1;
135 __ Branch(&ok1, eq, v0, Operand(zero_reg)); 135 __ Branch(&ok1, eq, v0, Operand(zero_reg));
136 __ bind(&ok1); 136 __ bind(&ok1);
137 __ Ret(); 137 __ Ret();
138 138
139 CodeDesc desc; 139 CodeDesc desc;
140 masm.GetCode(&desc); 140 masm.GetCode(isolate, &desc);
141 Assembler::FlushICache(isolate, buffer, actual_size); 141 Assembler::FlushICache(isolate, buffer, actual_size);
142 return (reinterpret_cast<ConvertDToIFunc>( 142 return (reinterpret_cast<ConvertDToIFunc>(
143 reinterpret_cast<intptr_t>(buffer))); 143 reinterpret_cast<intptr_t>(buffer)));
144 } 144 }
145 145
146 #undef __ 146 #undef __
147 147
148 148
149 static Isolate* GetIsolateFrom(LocalContext* context) { 149 static Isolate* GetIsolateFrom(LocalContext* context) {
150 return reinterpret_cast<Isolate*>((*context)->GetIsolate()); 150 return reinterpret_cast<Isolate*>((*context)->GetIsolate());
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 false)); 192 false));
193 RunAllTruncationTests( 193 RunAllTruncationTests(
194 RunGeneratedCodeCallWrapper, 194 RunGeneratedCodeCallWrapper,
195 MakeConvertDToIFuncTrampoline(isolate, 195 MakeConvertDToIFuncTrampoline(isolate,
196 source_registers[s], 196 source_registers[s],
197 dest_registers[d], 197 dest_registers[d],
198 true)); 198 true));
199 } 199 }
200 } 200 }
201 } 201 }
OLDNEW
« no previous file with comments | « test/cctest/test-code-stubs-mips.cc ('k') | test/cctest/test-code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698