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

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

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, 3 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/macro-assembler-arm64.cc ('k') | src/arm64/simulator-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 // 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 #ifndef V8_ARM64_SIMULATOR_ARM64_H_ 5 #ifndef V8_ARM64_SIMULATOR_ARM64_H_
6 #define V8_ARM64_SIMULATOR_ARM64_H_ 6 #define V8_ARM64_SIMULATOR_ARM64_H_
7 7
8 #include <stdarg.h> 8 #include <stdarg.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 void CallVoid(byte* entry, CallArgument* args); 180 void CallVoid(byte* entry, CallArgument* args);
181 181
182 // Like CallVoid, but expect a return value. 182 // Like CallVoid, but expect a return value.
183 int64_t CallInt64(byte* entry, CallArgument* args); 183 int64_t CallInt64(byte* entry, CallArgument* args);
184 double CallDouble(byte* entry, CallArgument* args); 184 double CallDouble(byte* entry, CallArgument* args);
185 185
186 // V8 calls into generated JS code with 5 parameters and into 186 // V8 calls into generated JS code with 5 parameters and into
187 // generated RegExp code with 10 parameters. These are convenience functions, 187 // generated RegExp code with 10 parameters. These are convenience functions,
188 // which set up the simulator state and grab the result on return. 188 // which set up the simulator state and grab the result on return.
189 int64_t CallJS(byte* entry, 189 int64_t CallJS(byte* entry,
190 byte* function_entry, 190 Object* new_target,
191 JSFunction* func, 191 JSFunction* func,
192 Object* revc, 192 Object* revc,
193 int64_t argc, 193 int64_t argc,
194 Object*** argv); 194 Object*** argv);
195 int64_t CallRegExp(byte* entry, 195 int64_t CallRegExp(byte* entry,
196 String* input, 196 String* input,
197 int64_t start_offset, 197 int64_t start_offset,
198 const byte* input_start, 198 const byte* input_start,
199 const byte* input_end, 199 const byte* input_end,
200 int* output, 200 int* output,
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 static void UnregisterCTryCatch() { 907 static void UnregisterCTryCatch() {
908 Simulator::current(Isolate::Current())->PopAddress(); 908 Simulator::current(Isolate::Current())->PopAddress();
909 } 909 }
910 }; 910 };
911 911
912 #endif // !defined(USE_SIMULATOR) 912 #endif // !defined(USE_SIMULATOR)
913 913
914 } } // namespace v8::internal 914 } } // namespace v8::internal
915 915
916 #endif // V8_ARM64_SIMULATOR_ARM64_H_ 916 #endif // V8_ARM64_SIMULATOR_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/macro-assembler-arm64.cc ('k') | src/arm64/simulator-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698