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_ARM_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_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 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
834 Register scratch2, | 834 Register scratch2, |
835 Register heap_number_map, | 835 Register heap_number_map, |
836 Label* gc_required); | 836 Label* gc_required); |
837 | 837 |
838 // Allocate and initialize a JSValue wrapper with the specified {constructor} | 838 // Allocate and initialize a JSValue wrapper with the specified {constructor} |
839 // and {value}. | 839 // and {value}. |
840 void AllocateJSValue(Register result, Register constructor, Register value, | 840 void AllocateJSValue(Register result, Register constructor, Register value, |
841 Register scratch1, Register scratch2, | 841 Register scratch1, Register scratch2, |
842 Label* gc_required); | 842 Label* gc_required); |
843 | 843 |
844 // Copies a number of bytes from src to dst. All registers are clobbered. On | |
845 // exit src and dst will point to the place just after where the last byte was | |
846 // read or written and length will be zero. | |
847 void CopyBytes(Register src, | |
848 Register dst, | |
849 Register length, | |
850 Register scratch); | |
851 | |
852 // Initialize fields with filler values. Fields starting at |current_address| | 844 // Initialize fields with filler values. Fields starting at |current_address| |
853 // not including |end_address| are overwritten with the value in |filler|. At | 845 // not including |end_address| are overwritten with the value in |filler|. At |
854 // the end the loop, |current_address| takes the value of |end_address|. | 846 // the end the loop, |current_address| takes the value of |end_address|. |
855 void InitializeFieldsWithFiller(Register current_address, | 847 void InitializeFieldsWithFiller(Register current_address, |
856 Register end_address, Register filler); | 848 Register end_address, Register filler); |
857 | 849 |
858 // --------------------------------------------------------------------------- | 850 // --------------------------------------------------------------------------- |
859 // Support functions. | 851 // Support functions. |
860 | 852 |
861 // Machine code version of Map::GetConstructor(). | 853 // Machine code version of Map::GetConstructor(). |
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1598 inline MemOperand NativeContextMemOperand() { | 1590 inline MemOperand NativeContextMemOperand() { |
1599 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); | 1591 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); |
1600 } | 1592 } |
1601 | 1593 |
1602 #define ACCESS_MASM(masm) masm-> | 1594 #define ACCESS_MASM(masm) masm-> |
1603 | 1595 |
1604 } // namespace internal | 1596 } // namespace internal |
1605 } // namespace v8 | 1597 } // namespace v8 |
1606 | 1598 |
1607 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1599 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |