| 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 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 // Abort execution if argument is not a name, enabled via --debug-code. | 563 // Abort execution if argument is not a name, enabled via --debug-code. |
| 564 void AssertName(Register object); | 564 void AssertName(Register object); |
| 565 | 565 |
| 566 // Abort execution if argument is not undefined or an AllocationSite, enabled | 566 // Abort execution if argument is not undefined or an AllocationSite, enabled |
| 567 // via --debug-code. | 567 // via --debug-code. |
| 568 void AssertUndefinedOrAllocationSite(Register object); | 568 void AssertUndefinedOrAllocationSite(Register object); |
| 569 | 569 |
| 570 // --------------------------------------------------------------------------- | 570 // --------------------------------------------------------------------------- |
| 571 // Exception handling | 571 // Exception handling |
| 572 | 572 |
| 573 // Push a new try handler and link it into try handler chain. | 573 // Push a new stack handler and link it into stack handler chain. |
| 574 void PushTryHandler(StackHandler::Kind kind, int handler_index); | 574 void PushStackHandler(); |
| 575 | 575 |
| 576 // Unlink the stack handler on top of the stack from the try handler chain. | 576 // Unlink the stack handler on top of the stack from the stack handler chain. |
| 577 void PopTryHandler(); | 577 void PopStackHandler(); |
| 578 | 578 |
| 579 // --------------------------------------------------------------------------- | 579 // --------------------------------------------------------------------------- |
| 580 // Inline caching support | 580 // Inline caching support |
| 581 | 581 |
| 582 // Generate code for checking access rights - used for security checks | 582 // Generate code for checking access rights - used for security checks |
| 583 // on access to global objects across environments. The holder register | 583 // on access to global objects across environments. The holder register |
| 584 // is left untouched, but the scratch register is clobbered. | 584 // is left untouched, but the scratch register is clobbered. |
| 585 void CheckAccessGlobalProxy(Register holder_reg, | 585 void CheckAccessGlobalProxy(Register holder_reg, |
| 586 Register scratch1, | 586 Register scratch1, |
| 587 Register scratch2, | 587 Register scratch2, |
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1094 } \ | 1094 } \ |
| 1095 masm-> | 1095 masm-> |
| 1096 #else | 1096 #else |
| 1097 #define ACCESS_MASM(masm) masm-> | 1097 #define ACCESS_MASM(masm) masm-> |
| 1098 #endif | 1098 #endif |
| 1099 | 1099 |
| 1100 | 1100 |
| 1101 } } // namespace v8::internal | 1101 } } // namespace v8::internal |
| 1102 | 1102 |
| 1103 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1103 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |