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

Side by Side Diff: test/cctest/test-code-stubs-arm.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-assembler-x64.cc ('k') | test/cctest/test-code-stubs-arm64.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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 if (!destination_reg.is(r0)) 126 if (!destination_reg.is(r0))
127 __ mov(r0, destination_reg); 127 __ mov(r0, destination_reg);
128 128
129 // Restore callee save registers. 129 // Restore callee save registers.
130 __ Pop(lr); 130 __ Pop(lr);
131 __ Pop(r7, r6, r5, r4); 131 __ Pop(r7, r6, r5, r4);
132 132
133 __ Ret(0); 133 __ Ret(0);
134 134
135 CodeDesc desc; 135 CodeDesc desc;
136 masm.GetCode(&desc); 136 masm.GetCode(isolate, &desc);
137 Assembler::FlushICache(isolate, buffer, actual_size); 137 Assembler::FlushICache(isolate, buffer, actual_size);
138 return (reinterpret_cast<ConvertDToIFunc>( 138 return (reinterpret_cast<ConvertDToIFunc>(
139 reinterpret_cast<intptr_t>(buffer))); 139 reinterpret_cast<intptr_t>(buffer)));
140 } 140 }
141 141
142 #undef __ 142 #undef __
143 143
144 144
145 static Isolate* GetIsolateFrom(LocalContext* context) { 145 static Isolate* GetIsolateFrom(LocalContext* context) {
146 return reinterpret_cast<Isolate*>((*context)->GetIsolate()); 146 return reinterpret_cast<Isolate*>((*context)->GetIsolate());
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 false)); 183 false));
184 RunAllTruncationTests( 184 RunAllTruncationTests(
185 RunGeneratedCodeCallWrapper, 185 RunGeneratedCodeCallWrapper,
186 MakeConvertDToIFuncTrampoline(isolate, 186 MakeConvertDToIFuncTrampoline(isolate,
187 source_registers[s], 187 source_registers[s],
188 dest_registers[d], 188 dest_registers[d],
189 true)); 189 true));
190 } 190 }
191 } 191 }
192 } 192 }
OLDNEW
« no previous file with comments | « test/cctest/test-assembler-x64.cc ('k') | test/cctest/test-code-stubs-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698