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 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 void AssertBoundFunction(Register object); | 529 void AssertBoundFunction(Register object); |
530 | 530 |
531 // Abort execution if argument is not a JSGeneratorObject, | 531 // Abort execution if argument is not a JSGeneratorObject, |
532 // enabled via --debug-code. | 532 // enabled via --debug-code. |
533 void AssertGeneratorObject(Register object, Register suspend_flags); | 533 void AssertGeneratorObject(Register object, Register suspend_flags); |
534 | 534 |
535 // Abort execution if argument is not undefined or an AllocationSite, enabled | 535 // Abort execution if argument is not undefined or an AllocationSite, enabled |
536 // via --debug-code. | 536 // via --debug-code. |
537 void AssertUndefinedOrAllocationSite(Register object); | 537 void AssertUndefinedOrAllocationSite(Register object); |
538 | 538 |
| 539 // Abort if argument is not a valid API call result, enabled via --debug-code. |
| 540 void AssertApiCallResult(Register object); |
| 541 |
539 // --------------------------------------------------------------------------- | 542 // --------------------------------------------------------------------------- |
540 // Exception handling | 543 // Exception handling |
541 | 544 |
542 // Push a new stack handler and link it into stack handler chain. | 545 // Push a new stack handler and link it into stack handler chain. |
543 void PushStackHandler(); | 546 void PushStackHandler(); |
544 | 547 |
545 // Unlink the stack handler on top of the stack from the stack handler chain. | 548 // Unlink the stack handler on top of the stack from the stack handler chain. |
546 void PopStackHandler(); | 549 void PopStackHandler(); |
547 | 550 |
548 // --------------------------------------------------------------------------- | 551 // --------------------------------------------------------------------------- |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
939 inline Operand NativeContextOperand() { | 942 inline Operand NativeContextOperand() { |
940 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); | 943 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); |
941 } | 944 } |
942 | 945 |
943 #define ACCESS_MASM(masm) masm-> | 946 #define ACCESS_MASM(masm) masm-> |
944 | 947 |
945 } // namespace internal | 948 } // namespace internal |
946 } // namespace v8 | 949 } // namespace v8 |
947 | 950 |
948 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 951 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |