OLD | NEW |
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_X87_MACRO_ASSEMBLER_X87_H_ | 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_ |
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ | 6 #define V8_X87_MACRO_ASSEMBLER_X87_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 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 | 506 |
507 // Abort execution if argument is not a string, enabled via --debug-code. | 507 // Abort execution if argument is not a string, enabled via --debug-code. |
508 void AssertString(Register object); | 508 void AssertString(Register object); |
509 | 509 |
510 // Abort execution if argument is not a name, enabled via --debug-code. | 510 // Abort execution if argument is not a name, enabled via --debug-code. |
511 void AssertName(Register object); | 511 void AssertName(Register object); |
512 | 512 |
513 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 513 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
514 void AssertFunction(Register object); | 514 void AssertFunction(Register object); |
515 | 515 |
| 516 // Abort execution if argument is not a JSBoundFunction, |
| 517 // enabled via --debug-code. |
| 518 void AssertBoundFunction(Register object); |
| 519 |
516 // Abort execution if argument is not undefined or an AllocationSite, enabled | 520 // Abort execution if argument is not undefined or an AllocationSite, enabled |
517 // via --debug-code. | 521 // via --debug-code. |
518 void AssertUndefinedOrAllocationSite(Register object); | 522 void AssertUndefinedOrAllocationSite(Register object); |
519 | 523 |
520 // --------------------------------------------------------------------------- | 524 // --------------------------------------------------------------------------- |
521 // Exception handling | 525 // Exception handling |
522 | 526 |
523 // Push a new stack handler and link it into stack handler chain. | 527 // Push a new stack handler and link it into stack handler chain. |
524 void PushStackHandler(); | 528 void PushStackHandler(); |
525 | 529 |
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
979 } \ | 983 } \ |
980 masm-> | 984 masm-> |
981 #else | 985 #else |
982 #define ACCESS_MASM(masm) masm-> | 986 #define ACCESS_MASM(masm) masm-> |
983 #endif | 987 #endif |
984 | 988 |
985 } // namespace internal | 989 } // namespace internal |
986 } // namespace v8 | 990 } // namespace v8 |
987 | 991 |
988 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 992 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
OLD | NEW |