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

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: arm port. 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
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 1197 matching lines...) Expand 10 before | Expand all | Expand 10 after
1208 1208
1209 // Abort execution if argument is not a string, enabled via --debug-code. 1209 // Abort execution if argument is not a string, enabled via --debug-code.
1210 void AssertString(Register object); 1210 void AssertString(Register object);
1211 1211
1212 // Abort execution if argument is not a name, enabled via --debug-code. 1212 // Abort execution if argument is not a name, enabled via --debug-code.
1213 void AssertName(Register object); 1213 void AssertName(Register object);
1214 1214
1215 // Abort execution if argument is not a JSFunction, enabled via --debug-code. 1215 // Abort execution if argument is not a JSFunction, enabled via --debug-code.
1216 void AssertFunction(Register object); 1216 void AssertFunction(Register object);
1217 1217
1218 // Abort execution if argument is not a JSBoundFunction,
1219 // enabled via --debug-code.
1220 void AssertBoundFunction(Register object);
1221
1218 // Abort execution if argument is not undefined or an AllocationSite, enabled 1222 // Abort execution if argument is not undefined or an AllocationSite, enabled
1219 // via --debug-code. 1223 // via --debug-code.
1220 void AssertUndefinedOrAllocationSite(Register object); 1224 void AssertUndefinedOrAllocationSite(Register object);
1221 1225
1222 // Abort execution if argument is not the root value with the given index, 1226 // Abort execution if argument is not the root value with the given index,
1223 // enabled via --debug-code. 1227 // enabled via --debug-code.
1224 void AssertRootValue(Register src, 1228 void AssertRootValue(Register src,
1225 Heap::RootListIndex root_value_index, 1229 Heap::RootListIndex root_value_index,
1226 BailoutReason reason); 1230 BailoutReason reason);
1227 1231
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
1748 } \ 1752 } \
1749 masm-> 1753 masm->
1750 #else 1754 #else
1751 #define ACCESS_MASM(masm) masm-> 1755 #define ACCESS_MASM(masm) masm->
1752 #endif 1756 #endif
1753 1757
1754 } // namespace internal 1758 } // namespace internal
1755 } // namespace v8 1759 } // namespace v8
1756 1760
1757 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1761 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698