| 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 "assembler.h" | 8 #include "assembler.h" |
| 9 #include "frames.h" | 9 #include "frames.h" |
| 10 #include "globals.h" | 10 #include "globals.h" |
| (...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 | 525 |
| 526 // Unlink the stack handler on top of the stack from the try handler chain. | 526 // Unlink the stack handler on top of the stack from the try handler chain. |
| 527 void PopTryHandler(); | 527 void PopTryHandler(); |
| 528 | 528 |
| 529 // Throw to the top handler in the try hander chain. | 529 // Throw to the top handler in the try hander chain. |
| 530 void Throw(Register value); | 530 void Throw(Register value); |
| 531 | 531 |
| 532 // Throw past all JS frames to the top JS entry frame. | 532 // Throw past all JS frames to the top JS entry frame. |
| 533 void ThrowUncatchable(Register value); | 533 void ThrowUncatchable(Register value); |
| 534 | 534 |
| 535 // Throw a message string as an exception. | |
| 536 void Throw(BailoutReason reason); | |
| 537 | |
| 538 // Throw a message string as an exception if a condition is not true. | |
| 539 void ThrowIf(Condition cc, BailoutReason reason); | |
| 540 | |
| 541 // --------------------------------------------------------------------------- | 535 // --------------------------------------------------------------------------- |
| 542 // Inline caching support | 536 // Inline caching support |
| 543 | 537 |
| 544 // Generate code for checking access rights - used for security checks | 538 // Generate code for checking access rights - used for security checks |
| 545 // on access to global objects across environments. The holder register | 539 // on access to global objects across environments. The holder register |
| 546 // is left untouched, but the scratch register is clobbered. | 540 // is left untouched, but the scratch register is clobbered. |
| 547 void CheckAccessGlobalProxy(Register holder_reg, | 541 void CheckAccessGlobalProxy(Register holder_reg, |
| 548 Register scratch1, | 542 Register scratch1, |
| 549 Register scratch2, | 543 Register scratch2, |
| 550 Label* miss); | 544 Label* miss); |
| (...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1074 } \ | 1068 } \ |
| 1075 masm-> | 1069 masm-> |
| 1076 #else | 1070 #else |
| 1077 #define ACCESS_MASM(masm) masm-> | 1071 #define ACCESS_MASM(masm) masm-> |
| 1078 #endif | 1072 #endif |
| 1079 | 1073 |
| 1080 | 1074 |
| 1081 } } // namespace v8::internal | 1075 } } // namespace v8::internal |
| 1082 | 1076 |
| 1083 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 1077 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
| OLD | NEW |