| 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 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 712 Register scratch2, Label* gc_required); | 712 Register scratch2, Label* gc_required); |
| 713 | 713 |
| 714 // Copy memory, byte-by-byte, from source to destination. Not optimized for | 714 // Copy memory, byte-by-byte, from source to destination. Not optimized for |
| 715 // long or aligned copies. | 715 // long or aligned copies. |
| 716 // The contents of index and scratch are destroyed. | 716 // The contents of index and scratch are destroyed. |
| 717 void CopyBytes(Register source, | 717 void CopyBytes(Register source, |
| 718 Register destination, | 718 Register destination, |
| 719 Register length, | 719 Register length, |
| 720 Register scratch); | 720 Register scratch); |
| 721 | 721 |
| 722 // Initialize fields with filler values. Fields starting at |start_offset| | 722 // Initialize fields with filler values. Fields starting at |current_address| |
| 723 // not including end_offset are overwritten with the value in |filler|. At | 723 // not including |end_address| are overwritten with the value in |filler|. At |
| 724 // the end the loop, |start_offset| takes the value of |end_offset|. | 724 // the end the loop, |current_address| takes the value of |end_address|. |
| 725 void InitializeFieldsWithFiller(Register start_offset, | 725 void InitializeFieldsWithFiller(Register current_address, |
| 726 Register end_offset, | 726 Register end_address, Register filler); |
| 727 Register filler); | |
| 728 | 727 |
| 729 // --------------------------------------------------------------------------- | 728 // --------------------------------------------------------------------------- |
| 730 // Support functions. | 729 // Support functions. |
| 731 | 730 |
| 732 // Check a boolean-bit of a Smi field. | 731 // Check a boolean-bit of a Smi field. |
| 733 void BooleanBitTest(Register object, int field_offset, int bit_index); | 732 void BooleanBitTest(Register object, int field_offset, int bit_index); |
| 734 | 733 |
| 735 // Check if result is zero and op is negative. | 734 // Check if result is zero and op is negative. |
| 736 void NegativeZeroTest(Register result, Register op, Label* then_label); | 735 void NegativeZeroTest(Register result, Register op, Label* then_label); |
| 737 | 736 |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1133 masm-> | 1132 masm-> |
| 1134 #else | 1133 #else |
| 1135 #define ACCESS_MASM(masm) masm-> | 1134 #define ACCESS_MASM(masm) masm-> |
| 1136 #endif | 1135 #endif |
| 1137 | 1136 |
| 1138 | 1137 |
| 1139 } // namespace internal | 1138 } // namespace internal |
| 1140 } // namespace v8 | 1139 } // namespace v8 |
| 1141 | 1140 |
| 1142 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1141 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |