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

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

Issue 1542963002: [runtime] Introduce dedicated JSBoundFunction to represent bound functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@FunctionConstructor
Patch Set: [arm64] Poke does not preserve flags with --debug-code. Created 4 years, 11 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/x64/code-stubs-x64.cc ('k') | src/x64/macro-assembler-x64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_X64_MACRO_ASSEMBLER_X64_H_ 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ 6 #define V8_X64_MACRO_ASSEMBLER_X64_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/base/flags.h" 10 #include "src/base/flags.h"
(...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1195 1195
1196 // Abort execution if argument is not a string, enabled via --debug-code. 1196 // Abort execution if argument is not a string, enabled via --debug-code.
1197 void AssertString(Register object); 1197 void AssertString(Register object);
1198 1198
1199 // Abort execution if argument is not a name, enabled via --debug-code. 1199 // Abort execution if argument is not a name, enabled via --debug-code.
1200 void AssertName(Register object); 1200 void AssertName(Register object);
1201 1201
1202 // Abort execution if argument is not a JSFunction, enabled via --debug-code. 1202 // Abort execution if argument is not a JSFunction, enabled via --debug-code.
1203 void AssertFunction(Register object); 1203 void AssertFunction(Register object);
1204 1204
1205 // Abort execution if argument is not a JSBoundFunction,
1206 // enabled via --debug-code.
1207 void AssertBoundFunction(Register object);
1208
1205 // Abort execution if argument is not undefined or an AllocationSite, enabled 1209 // Abort execution if argument is not undefined or an AllocationSite, enabled
1206 // via --debug-code. 1210 // via --debug-code.
1207 void AssertUndefinedOrAllocationSite(Register object); 1211 void AssertUndefinedOrAllocationSite(Register object);
1208 1212
1209 // Abort execution if argument is not the root value with the given index, 1213 // Abort execution if argument is not the root value with the given index,
1210 // enabled via --debug-code. 1214 // enabled via --debug-code.
1211 void AssertRootValue(Register src, 1215 void AssertRootValue(Register src,
1212 Heap::RootListIndex root_value_index, 1216 Heap::RootListIndex root_value_index,
1213 BailoutReason reason); 1217 BailoutReason reason);
1214 1218
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
1735 } \ 1739 } \
1736 masm-> 1740 masm->
1737 #else 1741 #else
1738 #define ACCESS_MASM(masm) masm-> 1742 #define ACCESS_MASM(masm) masm->
1739 #endif 1743 #endif
1740 1744
1741 } // namespace internal 1745 } // namespace internal
1742 } // namespace v8 1746 } // namespace v8
1743 1747
1744 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1748 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698