| 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 "assembler.h" | 8 #include "assembler.h" |
| 9 #include "frames.h" | 9 #include "frames.h" |
| 10 #include "globals.h" | 10 #include "globals.h" |
| (...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 | 546 |
| 547 // Unlink the stack handler on top of the stack from the try handler chain. | 547 // Unlink the stack handler on top of the stack from the try handler chain. |
| 548 void PopTryHandler(); | 548 void PopTryHandler(); |
| 549 | 549 |
| 550 // Throw to the top handler in the try hander chain. | 550 // Throw to the top handler in the try hander chain. |
| 551 void Throw(Register value); | 551 void Throw(Register value); |
| 552 | 552 |
| 553 // Throw past all JS frames to the top JS entry frame. | 553 // Throw past all JS frames to the top JS entry frame. |
| 554 void ThrowUncatchable(Register value); | 554 void ThrowUncatchable(Register value); |
| 555 | 555 |
| 556 // Throw a message string as an exception. | |
| 557 void Throw(BailoutReason reason); | |
| 558 | |
| 559 // Throw a message string as an exception if a condition is not true. | |
| 560 void ThrowIf(Condition cc, BailoutReason reason); | |
| 561 | |
| 562 // --------------------------------------------------------------------------- | 556 // --------------------------------------------------------------------------- |
| 563 // Inline caching support | 557 // Inline caching support |
| 564 | 558 |
| 565 // Generate code for checking access rights - used for security checks | 559 // Generate code for checking access rights - used for security checks |
| 566 // on access to global objects across environments. The holder register | 560 // on access to global objects across environments. The holder register |
| 567 // is left untouched, but the scratch register is clobbered. | 561 // is left untouched, but the scratch register is clobbered. |
| 568 void CheckAccessGlobalProxy(Register holder_reg, | 562 void CheckAccessGlobalProxy(Register holder_reg, |
| 569 Register scratch1, | 563 Register scratch1, |
| 570 Register scratch2, | 564 Register scratch2, |
| 571 Label* miss); | 565 Label* miss); |
| (...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1100 } \ | 1094 } \ |
| 1101 masm-> | 1095 masm-> |
| 1102 #else | 1096 #else |
| 1103 #define ACCESS_MASM(masm) masm-> | 1097 #define ACCESS_MASM(masm) masm-> |
| 1104 #endif | 1098 #endif |
| 1105 | 1099 |
| 1106 | 1100 |
| 1107 } } // namespace v8::internal | 1101 } } // namespace v8::internal |
| 1108 | 1102 |
| 1109 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1103 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |