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

Side by Side Diff: src/arm64/simulator-arm64.cc

Issue 1359583002: [builtins] Add support for NewTarget to Execution::New. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Merge mips and mips64 ports. Created 5 years, 2 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 | « src/arm64/simulator-arm64.h ('k') | src/builtins.h » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdlib.h> 5 #include <stdlib.h>
6 #include <cmath> 6 #include <cmath>
7 #include <cstdarg> 7 #include <cstdarg>
8 8
9 #if V8_TARGET_ARCH_ARM64 9 #if V8_TARGET_ARCH_ARM64
10 10
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 } 170 }
171 171
172 172
173 double Simulator::CallDouble(byte* entry, CallArgument* args) { 173 double Simulator::CallDouble(byte* entry, CallArgument* args) {
174 CallVoid(entry, args); 174 CallVoid(entry, args);
175 return dreg(0); 175 return dreg(0);
176 } 176 }
177 177
178 178
179 int64_t Simulator::CallJS(byte* entry, 179 int64_t Simulator::CallJS(byte* entry,
180 byte* function_entry, 180 Object* new_target,
181 JSFunction* func, 181 JSFunction* func,
182 Object* revc, 182 Object* revc,
183 int64_t argc, 183 int64_t argc,
184 Object*** argv) { 184 Object*** argv) {
185 CallArgument args[] = { 185 CallArgument args[] = {
186 CallArgument(function_entry), 186 CallArgument(new_target),
187 CallArgument(func), 187 CallArgument(func),
188 CallArgument(revc), 188 CallArgument(revc),
189 CallArgument(argc), 189 CallArgument(argc),
190 CallArgument(argv), 190 CallArgument(argv),
191 CallArgument::End() 191 CallArgument::End()
192 }; 192 };
193 return CallInt64(entry, args); 193 return CallInt64(entry, args);
194 } 194 }
195 195
196 int64_t Simulator::CallRegExp(byte* entry, 196 int64_t Simulator::CallRegExp(byte* entry,
(...skipping 3640 matching lines...) Expand 10 before | Expand all | Expand 10 after
3837 delete[] format; 3837 delete[] format;
3838 } 3838 }
3839 3839
3840 3840
3841 #endif // USE_SIMULATOR 3841 #endif // USE_SIMULATOR
3842 3842
3843 } // namespace internal 3843 } // namespace internal
3844 } // namespace v8 3844 } // namespace v8
3845 3845
3846 #endif // V8_TARGET_ARCH_ARM64 3846 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/simulator-arm64.h ('k') | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698