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

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

Issue 1818923002: [stubs] Split ToNumberStub into reusable subparts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE Created 4 years, 9 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/code-stubs-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 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 980
981 // Abort execution if argument is not a string, enabled via --debug-code. 981 // Abort execution if argument is not a string, enabled via --debug-code.
982 void AssertString(Register object); 982 void AssertString(Register object);
983 983
984 // Abort execution if argument is not a positive or zero integer, enabled via 984 // Abort execution if argument is not a positive or zero integer, enabled via
985 // --debug-code. 985 // --debug-code.
986 void AssertPositiveOrZero(Register value); 986 void AssertPositiveOrZero(Register value);
987 987
988 // Abort execution if argument is not a number (heap number or smi). 988 // Abort execution if argument is not a number (heap number or smi).
989 void AssertNumber(Register value); 989 void AssertNumber(Register value);
990 void AssertNotNumber(Register value);
990 991
991 void JumpIfHeapNumber(Register object, Label* on_heap_number, 992 void JumpIfHeapNumber(Register object, Label* on_heap_number,
992 SmiCheckType smi_check_type = DONT_DO_SMI_CHECK); 993 SmiCheckType smi_check_type = DONT_DO_SMI_CHECK);
993 void JumpIfNotHeapNumber(Register object, Label* on_not_heap_number, 994 void JumpIfNotHeapNumber(Register object, Label* on_not_heap_number,
994 SmiCheckType smi_check_type = DONT_DO_SMI_CHECK); 995 SmiCheckType smi_check_type = DONT_DO_SMI_CHECK);
995 996
996 // Sets the vs flag if the input is -0.0. 997 // Sets the vs flag if the input is -0.0.
997 void TestForMinusZero(DoubleRegister input); 998 void TestForMinusZero(DoubleRegister input);
998 999
999 // Jump to label if the input double register contains -0.0. 1000 // Jump to label if the input double register contains -0.0.
(...skipping 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after
2268 #error "Unsupported option" 2269 #error "Unsupported option"
2269 #define CODE_COVERAGE_STRINGIFY(x) #x 2270 #define CODE_COVERAGE_STRINGIFY(x) #x
2270 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2271 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2271 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2272 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2272 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2273 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2273 #else 2274 #else
2274 #define ACCESS_MASM(masm) masm-> 2275 #define ACCESS_MASM(masm) masm->
2275 #endif 2276 #endif
2276 2277
2277 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 2278 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/arm64/macro-assembler-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698