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 "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 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 // Abort execution if argument is not a name, enabled via --debug-code. | 528 // Abort execution if argument is not a name, enabled via --debug-code. |
529 void AssertName(Register object); | 529 void AssertName(Register object); |
530 | 530 |
531 // Abort execution if argument is not undefined or an AllocationSite, enabled | 531 // Abort execution if argument is not undefined or an AllocationSite, enabled |
532 // via --debug-code. | 532 // via --debug-code. |
533 void AssertUndefinedOrAllocationSite(Register object); | 533 void AssertUndefinedOrAllocationSite(Register object); |
534 | 534 |
535 // --------------------------------------------------------------------------- | 535 // --------------------------------------------------------------------------- |
536 // Exception handling | 536 // Exception handling |
537 | 537 |
538 // Push a new try handler and link it into try handler chain. | 538 // Push a new stack handler and link it into stack handler chain. |
539 void PushTryHandler(StackHandler::Kind kind, int handler_index); | 539 void PushStackHandler(); |
540 | 540 |
541 // Unlink the stack handler on top of the stack from the try handler chain. | 541 // Unlink the stack handler on top of the stack from the stack handler chain. |
542 void PopTryHandler(); | 542 void PopStackHandler(); |
543 | 543 |
544 // --------------------------------------------------------------------------- | 544 // --------------------------------------------------------------------------- |
545 // Inline caching support | 545 // Inline caching support |
546 | 546 |
547 // Generate code for checking access rights - used for security checks | 547 // Generate code for checking access rights - used for security checks |
548 // on access to global objects across environments. The holder register | 548 // on access to global objects across environments. The holder register |
549 // is left untouched, but the scratch register is clobbered. | 549 // is left untouched, but the scratch register is clobbered. |
550 void CheckAccessGlobalProxy(Register holder_reg, | 550 void CheckAccessGlobalProxy(Register holder_reg, |
551 Register scratch1, | 551 Register scratch1, |
552 Register scratch2, | 552 Register scratch2, |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1051 } \ | 1051 } \ |
1052 masm-> | 1052 masm-> |
1053 #else | 1053 #else |
1054 #define ACCESS_MASM(masm) masm-> | 1054 #define ACCESS_MASM(masm) masm-> |
1055 #endif | 1055 #endif |
1056 | 1056 |
1057 | 1057 |
1058 } } // namespace v8::internal | 1058 } } // namespace v8::internal |
1059 | 1059 |
1060 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 1060 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
OLD | NEW |