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_IA32_MACRO_ASSEMBLER_IA32_H_ | 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_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 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 // Abort execution if argument is not a name, enabled via --debug-code. | 535 // Abort execution if argument is not a name, enabled via --debug-code. |
536 void AssertName(Register object); | 536 void AssertName(Register object); |
537 | 537 |
538 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 538 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
539 void AssertFunction(Register object); | 539 void AssertFunction(Register object); |
540 | 540 |
541 // Abort execution if argument is not a JSBoundFunction, | 541 // Abort execution if argument is not a JSBoundFunction, |
542 // enabled via --debug-code. | 542 // enabled via --debug-code. |
543 void AssertBoundFunction(Register object); | 543 void AssertBoundFunction(Register object); |
544 | 544 |
| 545 // Abort execution if argument is not a JSReceiver, enabled via --debug-code. |
| 546 void AssertReceiver(Register object); |
| 547 |
545 // Abort execution if argument is not undefined or an AllocationSite, enabled | 548 // Abort execution if argument is not undefined or an AllocationSite, enabled |
546 // via --debug-code. | 549 // via --debug-code. |
547 void AssertUndefinedOrAllocationSite(Register object); | 550 void AssertUndefinedOrAllocationSite(Register object); |
548 | 551 |
549 // --------------------------------------------------------------------------- | 552 // --------------------------------------------------------------------------- |
550 // Exception handling | 553 // Exception handling |
551 | 554 |
552 // Push a new stack handler and link it into stack handler chain. | 555 // Push a new stack handler and link it into stack handler chain. |
553 void PushStackHandler(); | 556 void PushStackHandler(); |
554 | 557 |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1025 } \ | 1028 } \ |
1026 masm-> | 1029 masm-> |
1027 #else | 1030 #else |
1028 #define ACCESS_MASM(masm) masm-> | 1031 #define ACCESS_MASM(masm) masm-> |
1029 #endif | 1032 #endif |
1030 | 1033 |
1031 } // namespace internal | 1034 } // namespace internal |
1032 } // namespace v8 | 1035 } // namespace v8 |
1033 | 1036 |
1034 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1037 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |