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/frames.h" | 9 #include "src/frames.h" |
10 #include "src/globals.h" | 10 #include "src/globals.h" |
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
908 Register instance_type, Register scratch, | 908 Register instance_type, Register scratch, |
909 Label* on_not_flat_one_byte_string); | 909 Label* on_not_flat_one_byte_string); |
910 | 910 |
911 // Checks if both objects are sequential one-byte strings, and jumps to label | 911 // Checks if both objects are sequential one-byte strings, and jumps to label |
912 // if either is not. | 912 // if either is not. |
913 void JumpIfNotBothSequentialOneByteStrings( | 913 void JumpIfNotBothSequentialOneByteStrings( |
914 Register object1, Register object2, Register scratch1, Register scratch2, | 914 Register object1, Register object2, Register scratch1, Register scratch2, |
915 Label* on_not_flat_one_byte_strings); | 915 Label* on_not_flat_one_byte_strings); |
916 | 916 |
917 // Checks if the given register or operand is a unique name | 917 // Checks if the given register or operand is a unique name |
918 void JumpIfNotUniqueName(Register reg, Label* not_unique_name, | 918 void JumpIfNotUniqueNameInstanceType(Register reg, Label* not_unique_name, |
919 Label::Distance distance = Label::kFar) { | 919 Label::Distance distance = Label::kFar) { |
920 JumpIfNotUniqueName(Operand(reg), not_unique_name, distance); | 920 JumpIfNotUniqueNameInstanceType(Operand(reg), not_unique_name, distance); |
921 } | 921 } |
922 | 922 |
923 void JumpIfNotUniqueName(Operand operand, Label* not_unique_name, | 923 void JumpIfNotUniqueNameInstanceType(Operand operand, Label* not_unique_name, |
924 Label::Distance distance = Label::kFar); | 924 Label::Distance distance = Label::kFar); |
925 | 925 |
926 void EmitSeqStringSetCharCheck(Register string, | 926 void EmitSeqStringSetCharCheck(Register string, |
927 Register index, | 927 Register index, |
928 Register value, | 928 Register value, |
929 uint32_t encoding_mask); | 929 uint32_t encoding_mask); |
930 | 930 |
931 static int SafepointRegisterStackIndex(Register reg) { | 931 static int SafepointRegisterStackIndex(Register reg) { |
932 return SafepointRegisterStackIndex(reg.code()); | 932 return SafepointRegisterStackIndex(reg.code()); |
933 } | 933 } |
934 | 934 |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1102 } \ | 1102 } \ |
1103 masm-> | 1103 masm-> |
1104 #else | 1104 #else |
1105 #define ACCESS_MASM(masm) masm-> | 1105 #define ACCESS_MASM(masm) masm-> |
1106 #endif | 1106 #endif |
1107 | 1107 |
1108 | 1108 |
1109 } } // namespace v8::internal | 1109 } } // namespace v8::internal |
1110 | 1110 |
1111 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1111 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |