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

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

Issue 1552473002: Revert of [runtime] Introduce dedicated JSBoundFunction to represent bound functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@FunctionConstructor
Patch Set: Created 4 years, 12 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 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 959
960 inline void ObjectTag(Register tagged_obj, Register obj); 960 inline void ObjectTag(Register tagged_obj, Register obj);
961 inline void ObjectUntag(Register untagged_obj, Register obj); 961 inline void ObjectUntag(Register untagged_obj, Register obj);
962 962
963 // Abort execution if argument is not a name, enabled via --debug-code. 963 // Abort execution if argument is not a name, enabled via --debug-code.
964 void AssertName(Register object); 964 void AssertName(Register object);
965 965
966 // Abort execution if argument is not a JSFunction, enabled via --debug-code. 966 // Abort execution if argument is not a JSFunction, enabled via --debug-code.
967 void AssertFunction(Register object); 967 void AssertFunction(Register object);
968 968
969 // Abort execution if argument is not a JSBoundFunction,
970 // enabled via --debug-code.
971 void AssertBoundFunction(Register object);
972
973 // Abort execution if argument is not undefined or an AllocationSite, enabled 969 // Abort execution if argument is not undefined or an AllocationSite, enabled
974 // via --debug-code. 970 // via --debug-code.
975 void AssertUndefinedOrAllocationSite(Register object, Register scratch); 971 void AssertUndefinedOrAllocationSite(Register object, Register scratch);
976 972
977 // Abort execution if argument is not a string, enabled via --debug-code. 973 // Abort execution if argument is not a string, enabled via --debug-code.
978 void AssertString(Register object); 974 void AssertString(Register object);
979 975
980 void JumpIfHeapNumber(Register object, Label* on_heap_number, 976 void JumpIfHeapNumber(Register object, Label* on_heap_number,
981 SmiCheckType smi_check_type = DONT_DO_SMI_CHECK); 977 SmiCheckType smi_check_type = DONT_DO_SMI_CHECK);
982 void JumpIfNotHeapNumber(Register object, Label* on_not_heap_number, 978 void JumpIfNotHeapNumber(Register object, Label* on_not_heap_number,
(...skipping 1258 matching lines...) Expand 10 before | Expand all | Expand 10 after
2241 #error "Unsupported option" 2237 #error "Unsupported option"
2242 #define CODE_COVERAGE_STRINGIFY(x) #x 2238 #define CODE_COVERAGE_STRINGIFY(x) #x
2243 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2239 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2244 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2240 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2245 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2241 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2246 #else 2242 #else
2247 #define ACCESS_MASM(masm) masm-> 2243 #define ACCESS_MASM(masm) masm->
2248 #endif 2244 #endif
2249 2245
2250 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 2246 #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