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

Side by Side Diff: test/cctest/test-code-stubs-arm64.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-arm.cc ('k') | test/cctest/test-code-stubs-ia32.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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 __ Mov(x0, destination_reg); 122 __ Mov(x0, destination_reg);
123 123
124 // Restore callee save registers. 124 // Restore callee save registers.
125 __ Mov(csp, jssp); 125 __ Mov(csp, jssp);
126 __ SetStackPointer(csp); 126 __ SetStackPointer(csp);
127 __ PopCalleeSavedRegisters(); 127 __ PopCalleeSavedRegisters();
128 128
129 __ Ret(); 129 __ Ret();
130 130
131 CodeDesc desc; 131 CodeDesc desc;
132 masm.GetCode(&desc); 132 masm.GetCode(isolate, &desc);
133 Assembler::FlushICache(isolate, buffer, actual_size); 133 Assembler::FlushICache(isolate, buffer, actual_size);
134 return (reinterpret_cast<ConvertDToIFunc>( 134 return (reinterpret_cast<ConvertDToIFunc>(
135 reinterpret_cast<intptr_t>(buffer))); 135 reinterpret_cast<intptr_t>(buffer)));
136 } 136 }
137 137
138 #undef __ 138 #undef __
139 139
140 140
141 static Isolate* GetIsolateFrom(LocalContext* context) { 141 static Isolate* GetIsolateFrom(LocalContext* context) {
142 return reinterpret_cast<Isolate*>((*context)->GetIsolate()); 142 return reinterpret_cast<Isolate*>((*context)->GetIsolate());
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 false)); 188 false));
189 RunAllTruncationTests( 189 RunAllTruncationTests(
190 RunGeneratedCodeCallWrapper, 190 RunGeneratedCodeCallWrapper,
191 MakeConvertDToIFuncTrampoline(isolate, 191 MakeConvertDToIFuncTrampoline(isolate,
192 source_registers[s], 192 source_registers[s],
193 dest_registers[d], 193 dest_registers[d],
194 true)); 194 true));
195 } 195 }
196 } 196 }
197 } 197 }
OLDNEW
« no previous file with comments | « test/cctest/test-code-stubs-arm.cc ('k') | test/cctest/test-code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698