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

Side by Side Diff: src/arm/macro-assembler-arm.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_ARM_MACRO_ASSEMBLER_ARM_H_ 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_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/frames.h" 10 #include "src/frames.h"
(...skipping 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after
1296 1296
1297 // Abort execution if argument is not a string, enabled via --debug-code. 1297 // Abort execution if argument is not a string, enabled via --debug-code.
1298 void AssertString(Register object); 1298 void AssertString(Register object);
1299 1299
1300 // Abort execution if argument is not a name, enabled via --debug-code. 1300 // Abort execution if argument is not a name, enabled via --debug-code.
1301 void AssertName(Register object); 1301 void AssertName(Register object);
1302 1302
1303 // Abort execution if argument is not a JSFunction, enabled via --debug-code. 1303 // Abort execution if argument is not a JSFunction, enabled via --debug-code.
1304 void AssertFunction(Register object); 1304 void AssertFunction(Register object);
1305 1305
1306 // Abort execution if argument is not a JSBoundFunction,
1307 // enabled via --debug-code.
1308 void AssertBoundFunction(Register object);
1309
1306 // Abort execution if argument is not undefined or an AllocationSite, enabled 1310 // Abort execution if argument is not undefined or an AllocationSite, enabled
1307 // via --debug-code. 1311 // via --debug-code.
1308 void AssertUndefinedOrAllocationSite(Register object, Register scratch); 1312 void AssertUndefinedOrAllocationSite(Register object, Register scratch);
1309 1313
1310 // Abort execution if reg is not the root value with the given index, 1314 // Abort execution if reg is not the root value with the given index,
1311 // enabled via --debug-code. 1315 // enabled via --debug-code.
1312 void AssertIsRoot(Register reg, Heap::RootListIndex index); 1316 void AssertIsRoot(Register reg, Heap::RootListIndex index);
1313 1317
1314 // --------------------------------------------------------------------------- 1318 // ---------------------------------------------------------------------------
1315 // HeapNumber utilities 1319 // HeapNumber utilities
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
1550 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1554 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1551 #else 1555 #else
1552 #define ACCESS_MASM(masm) masm-> 1556 #define ACCESS_MASM(masm) masm->
1553 #endif 1557 #endif
1554 1558
1555 1559
1556 } // namespace internal 1560 } // namespace internal
1557 } // namespace v8 1561 } // namespace v8
1558 1562
1559 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1563 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | src/objects-debug.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698