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

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

Issue 308083006: Don't push eax/rax before calling Runtime_Abort (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/macro-assembler-arm.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 "globals.h" 10 #include "globals.h"
(...skipping 1054 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 Register scratch4); 1065 Register scratch4);
1066 1066
1067 // Propagates an uncatchable exception to the top of the current JS stack's 1067 // Propagates an uncatchable exception to the top of the current JS stack's
1068 // handler chain. Register value must be x0. 1068 // handler chain. Register value must be x0.
1069 void ThrowUncatchable(Register value, 1069 void ThrowUncatchable(Register value,
1070 Register scratch1, 1070 Register scratch1,
1071 Register scratch2, 1071 Register scratch2,
1072 Register scratch3, 1072 Register scratch3,
1073 Register scratch4); 1073 Register scratch4);
1074 1074
1075 // Throw a message string as an exception.
1076 void Throw(BailoutReason reason);
1077
1078 // Throw a message string as an exception if a condition is not true.
1079 void ThrowIf(Condition cond, BailoutReason reason);
1080
1081 // Throw a message string as an exception if the value is a smi.
1082 void ThrowIfSmi(const Register& value, BailoutReason reason);
1083
1084 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None()); 1075 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None());
1085 void TailCallStub(CodeStub* stub); 1076 void TailCallStub(CodeStub* stub);
1086 1077
1087 void CallRuntime(const Runtime::Function* f, 1078 void CallRuntime(const Runtime::Function* f,
1088 int num_arguments, 1079 int num_arguments,
1089 SaveFPRegsMode save_doubles = kDontSaveFPRegs); 1080 SaveFPRegsMode save_doubles = kDontSaveFPRegs);
1090 1081
1091 void CallRuntime(Runtime::FunctionId id, 1082 void CallRuntime(Runtime::FunctionId id,
1092 int num_arguments, 1083 int num_arguments,
1093 SaveFPRegsMode save_doubles = kDontSaveFPRegs) { 1084 SaveFPRegsMode save_doubles = kDontSaveFPRegs) {
(...skipping 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after
2308 #error "Unsupported option" 2299 #error "Unsupported option"
2309 #define CODE_COVERAGE_STRINGIFY(x) #x 2300 #define CODE_COVERAGE_STRINGIFY(x) #x
2310 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2301 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2311 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2302 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2312 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2303 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2313 #else 2304 #else
2314 #define ACCESS_MASM(masm) masm-> 2305 #define ACCESS_MASM(masm) masm->
2315 #endif 2306 #endif
2316 2307
2317 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 2308 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/arm64/macro-assembler-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698