| 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_X64_MACRO_ASSEMBLER_X64_H_ | 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ |
| 6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ | 6 #define V8_X64_MACRO_ASSEMBLER_X64_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 1091 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1102 | 1102 |
| 1103 // Abort execution if argument is not the root value with the given index, | 1103 // Abort execution if argument is not the root value with the given index, |
| 1104 // enabled via --debug-code. | 1104 // enabled via --debug-code. |
| 1105 void AssertRootValue(Register src, | 1105 void AssertRootValue(Register src, |
| 1106 Heap::RootListIndex root_value_index, | 1106 Heap::RootListIndex root_value_index, |
| 1107 BailoutReason reason); | 1107 BailoutReason reason); |
| 1108 | 1108 |
| 1109 // --------------------------------------------------------------------------- | 1109 // --------------------------------------------------------------------------- |
| 1110 // Exception handling | 1110 // Exception handling |
| 1111 | 1111 |
| 1112 // Push a new try handler and link it into try handler chain. | 1112 // Push a new stack handler and link it into stack handler chain. |
| 1113 void PushTryHandler(StackHandler::Kind kind, int handler_index); | 1113 void PushStackHandler(); |
| 1114 | 1114 |
| 1115 // Unlink the stack handler on top of the stack from the try handler chain. | 1115 // Unlink the stack handler on top of the stack from the stack handler chain. |
| 1116 void PopTryHandler(); | 1116 void PopStackHandler(); |
| 1117 | 1117 |
| 1118 // --------------------------------------------------------------------------- | 1118 // --------------------------------------------------------------------------- |
| 1119 // Inline caching support | 1119 // Inline caching support |
| 1120 | 1120 |
| 1121 // Generate code for checking access rights - used for security checks | 1121 // Generate code for checking access rights - used for security checks |
| 1122 // on access to global objects across environments. The holder register | 1122 // on access to global objects across environments. The holder register |
| 1123 // is left untouched, but the scratch register and kScratchRegister, | 1123 // is left untouched, but the scratch register and kScratchRegister, |
| 1124 // which must be different, are clobbered. | 1124 // which must be different, are clobbered. |
| 1125 void CheckAccessGlobalProxy(Register holder_reg, | 1125 void CheckAccessGlobalProxy(Register holder_reg, |
| 1126 Register scratch, | 1126 Register scratch, |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1622 masm->popfq(); \ | 1622 masm->popfq(); \ |
| 1623 } \ | 1623 } \ |
| 1624 masm-> | 1624 masm-> |
| 1625 #else | 1625 #else |
| 1626 #define ACCESS_MASM(masm) masm-> | 1626 #define ACCESS_MASM(masm) masm-> |
| 1627 #endif | 1627 #endif |
| 1628 | 1628 |
| 1629 } } // namespace v8::internal | 1629 } } // namespace v8::internal |
| 1630 | 1630 |
| 1631 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1631 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |