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 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 // Abort execution if argument is not a name, enabled via --debug-code. | 522 // Abort execution if argument is not a name, enabled via --debug-code. |
523 void AssertName(Register object); | 523 void AssertName(Register object); |
524 | 524 |
525 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 525 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
526 void AssertFunction(Register object); | 526 void AssertFunction(Register object); |
527 | 527 |
528 // Abort execution if argument is not a JSBoundFunction, | 528 // Abort execution if argument is not a JSBoundFunction, |
529 // enabled via --debug-code. | 529 // enabled via --debug-code. |
530 void AssertBoundFunction(Register object); | 530 void AssertBoundFunction(Register object); |
531 | 531 |
| 532 // Abort execution if argument is not a JSReceiver, enabled via --debug-code. |
| 533 void AssertReceiver(Register object); |
| 534 |
532 // Abort execution if argument is not undefined or an AllocationSite, enabled | 535 // Abort execution if argument is not undefined or an AllocationSite, enabled |
533 // via --debug-code. | 536 // via --debug-code. |
534 void AssertUndefinedOrAllocationSite(Register object); | 537 void AssertUndefinedOrAllocationSite(Register object); |
535 | 538 |
536 // --------------------------------------------------------------------------- | 539 // --------------------------------------------------------------------------- |
537 // Exception handling | 540 // Exception handling |
538 | 541 |
539 // Push a new stack handler and link it into stack handler chain. | 542 // Push a new stack handler and link it into stack handler chain. |
540 void PushStackHandler(); | 543 void PushStackHandler(); |
541 | 544 |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1002 } \ | 1005 } \ |
1003 masm-> | 1006 masm-> |
1004 #else | 1007 #else |
1005 #define ACCESS_MASM(masm) masm-> | 1008 #define ACCESS_MASM(masm) masm-> |
1006 #endif | 1009 #endif |
1007 | 1010 |
1008 } // namespace internal | 1011 } // namespace internal |
1009 } // namespace v8 | 1012 } // namespace v8 |
1010 | 1013 |
1011 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 1014 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
OLD | NEW |