| 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 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 | 592 |
| 593 // Push a new stack handler and link it into stack handler chain. | 593 // Push a new stack handler and link it into stack handler chain. |
| 594 void PushStackHandler(); | 594 void PushStackHandler(); |
| 595 | 595 |
| 596 // Unlink the stack handler on top of the stack from the stack handler chain. | 596 // Unlink the stack handler on top of the stack from the stack handler chain. |
| 597 void PopStackHandler(); | 597 void PopStackHandler(); |
| 598 | 598 |
| 599 // --------------------------------------------------------------------------- | 599 // --------------------------------------------------------------------------- |
| 600 // Inline caching support | 600 // Inline caching support |
| 601 | 601 |
| 602 // Generate code for checking access rights - used for security checks | |
| 603 // on access to global objects across environments. The holder register | |
| 604 // is left untouched, but the scratch register is clobbered. | |
| 605 void CheckAccessGlobalProxy(Register holder_reg, Register scratch1, | |
| 606 Register scratch2, Label* miss); | |
| 607 | |
| 608 void GetNumberHash(Register r0, Register scratch); | 602 void GetNumberHash(Register r0, Register scratch); |
| 609 | 603 |
| 610 // --------------------------------------------------------------------------- | 604 // --------------------------------------------------------------------------- |
| 611 // Allocation support | 605 // Allocation support |
| 612 | 606 |
| 613 // Allocate an object in new space or old space. If the given space | 607 // Allocate an object in new space or old space. If the given space |
| 614 // is exhausted control continues at the gc_required label. The allocated | 608 // is exhausted control continues at the gc_required label. The allocated |
| 615 // object is returned in result and end of the new object is returned in | 609 // object is returned in result and end of the new object is returned in |
| 616 // result_end. The register scratch can be passed as no_reg in which case | 610 // result_end. The register scratch can be passed as no_reg in which case |
| 617 // an additional object reference will be added to the reloc info. The | 611 // an additional object reference will be added to the reloc info. The |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1056 inline Operand NativeContextOperand() { | 1050 inline Operand NativeContextOperand() { |
| 1057 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); | 1051 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); |
| 1058 } | 1052 } |
| 1059 | 1053 |
| 1060 #define ACCESS_MASM(masm) masm-> | 1054 #define ACCESS_MASM(masm) masm-> |
| 1061 | 1055 |
| 1062 } // namespace internal | 1056 } // namespace internal |
| 1063 } // namespace v8 | 1057 } // namespace v8 |
| 1064 | 1058 |
| 1065 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1059 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |