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

Side by Side Diff: src/arm64/macro-assembler-arm64.h

Issue 1460503008: [turbofan] Switch passing of new.target to register. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_turbofan-pass-new-target-6
Patch Set: Ported to MIPS64. Created 5 years 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/builtins-arm64.cc ('k') | src/arm64/macro-assembler-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_MACRO_ASSEMBLER_ARM64_H_ 5 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "src/arm64/assembler-arm64.h" 10 #include "src/arm64/assembler-arm64.h"
(...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1178 // 'actual' must use an immediate or x0. 1178 // 'actual' must use an immediate or x0.
1179 // 'expected' must use an immediate or x2. 1179 // 'expected' must use an immediate or x2.
1180 // 'call_kind' must be x5. 1180 // 'call_kind' must be x5.
1181 void InvokePrologue(const ParameterCount& expected, 1181 void InvokePrologue(const ParameterCount& expected,
1182 const ParameterCount& actual, 1182 const ParameterCount& actual,
1183 Label* done, 1183 Label* done,
1184 InvokeFlag flag, 1184 InvokeFlag flag,
1185 bool* definitely_mismatches, 1185 bool* definitely_mismatches,
1186 const CallWrapper& call_wrapper); 1186 const CallWrapper& call_wrapper);
1187 void InvokeCode(Register code, 1187 void InvokeCode(Register code,
1188 Register new_target,
1188 const ParameterCount& expected, 1189 const ParameterCount& expected,
1189 const ParameterCount& actual, 1190 const ParameterCount& actual,
1190 InvokeFlag flag, 1191 InvokeFlag flag,
1191 const CallWrapper& call_wrapper); 1192 const CallWrapper& call_wrapper);
1192 // Invoke the JavaScript function in the given register. 1193 // Invoke the JavaScript function in the given register.
1193 // Changes the current context to the context in the function before invoking. 1194 // Changes the current context to the context in the function before invoking.
1194 void InvokeFunction(Register function, 1195 void InvokeFunction(Register function,
1196 Register new_target,
1195 const ParameterCount& actual, 1197 const ParameterCount& actual,
1196 InvokeFlag flag, 1198 InvokeFlag flag,
1197 const CallWrapper& call_wrapper); 1199 const CallWrapper& call_wrapper);
1198 void InvokeFunction(Register function, 1200 void InvokeFunction(Register function,
1199 const ParameterCount& expected, 1201 const ParameterCount& expected,
1200 const ParameterCount& actual, 1202 const ParameterCount& actual,
1201 InvokeFlag flag, 1203 InvokeFlag flag,
1202 const CallWrapper& call_wrapper); 1204 const CallWrapper& call_wrapper);
1203 void InvokeFunction(Handle<JSFunction> function, 1205 void InvokeFunction(Handle<JSFunction> function,
1204 const ParameterCount& expected, 1206 const ParameterCount& expected,
(...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after
2284 #error "Unsupported option" 2286 #error "Unsupported option"
2285 #define CODE_COVERAGE_STRINGIFY(x) #x 2287 #define CODE_COVERAGE_STRINGIFY(x) #x
2286 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2288 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2287 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2289 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2288 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2290 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2289 #else 2291 #else
2290 #define ACCESS_MASM(masm) masm-> 2292 #define ACCESS_MASM(masm) masm->
2291 #endif 2293 #endif
2292 2294
2293 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 2295 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/arm64/macro-assembler-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698