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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 Label* condition_met, | 87 Label* condition_met, |
88 Label::Distance condition_met_distance = Label::kFar); | 88 Label::Distance condition_met_distance = Label::kFar); |
89 | 89 |
90 void CheckPageFlagForMap( | 90 void CheckPageFlagForMap( |
91 Handle<Map> map, | 91 Handle<Map> map, |
92 int mask, | 92 int mask, |
93 Condition cc, | 93 Condition cc, |
94 Label* condition_met, | 94 Label* condition_met, |
95 Label::Distance condition_met_distance = Label::kFar); | 95 Label::Distance condition_met_distance = Label::kFar); |
96 | 96 |
97 void CheckMapDeprecated(Handle<Map> map, | |
98 Register scratch, | |
99 Label* if_deprecated); | |
100 | |
101 // Check if object is in new space. Jumps if the object is not in new space. | 97 // Check if object is in new space. Jumps if the object is not in new space. |
102 // The register scratch can be object itself, but scratch will be clobbered. | 98 // The register scratch can be object itself, but scratch will be clobbered. |
103 void JumpIfNotInNewSpace(Register object, | 99 void JumpIfNotInNewSpace(Register object, |
104 Register scratch, | 100 Register scratch, |
105 Label* branch, | 101 Label* branch, |
106 Label::Distance distance = Label::kFar) { | 102 Label::Distance distance = Label::kFar) { |
107 InNewSpace(object, scratch, zero, branch, distance); | 103 InNewSpace(object, scratch, zero, branch, distance); |
108 } | 104 } |
109 | 105 |
110 // Check if object is in new space. Jumps if the object is in new space. | 106 // Check if object is in new space. Jumps if the object is in new space. |
(...skipping 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1117 } \ | 1113 } \ |
1118 masm-> | 1114 masm-> |
1119 #else | 1115 #else |
1120 #define ACCESS_MASM(masm) masm-> | 1116 #define ACCESS_MASM(masm) masm-> |
1121 #endif | 1117 #endif |
1122 | 1118 |
1123 | 1119 |
1124 } } // namespace v8::internal | 1120 } } // namespace v8::internal |
1125 | 1121 |
1126 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1122 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |