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_X64_MACRO_ASSEMBLER_X64_H_ | 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ |
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ | 6 #define V8_X64_MACRO_ASSEMBLER_X64_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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 SaveFPRegsMode save_fp, | 168 SaveFPRegsMode save_fp, |
169 RememberedSetFinalAction and_then); | 169 RememberedSetFinalAction and_then); |
170 | 170 |
171 void CheckPageFlag(Register object, | 171 void CheckPageFlag(Register object, |
172 Register scratch, | 172 Register scratch, |
173 int mask, | 173 int mask, |
174 Condition cc, | 174 Condition cc, |
175 Label* condition_met, | 175 Label* condition_met, |
176 Label::Distance condition_met_distance = Label::kFar); | 176 Label::Distance condition_met_distance = Label::kFar); |
177 | 177 |
178 void CheckMapDeprecated(Handle<Map> map, | |
179 Register scratch, | |
180 Label* if_deprecated); | |
181 | |
182 // Check if object is in new space. Jumps if the object is not in new space. | 178 // Check if object is in new space. Jumps if the object is not in new space. |
183 // The register scratch can be object itself, but scratch will be clobbered. | 179 // The register scratch can be object itself, but scratch will be clobbered. |
184 void JumpIfNotInNewSpace(Register object, | 180 void JumpIfNotInNewSpace(Register object, |
185 Register scratch, | 181 Register scratch, |
186 Label* branch, | 182 Label* branch, |
187 Label::Distance distance = Label::kFar) { | 183 Label::Distance distance = Label::kFar) { |
188 InNewSpace(object, scratch, not_equal, branch, distance); | 184 InNewSpace(object, scratch, not_equal, branch, distance); |
189 } | 185 } |
190 | 186 |
191 // Check if object is in new space. Jumps if the object is in new space. | 187 // Check if object is in new space. Jumps if the object is in new space. |
(...skipping 1460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1652 masm->popfq(); \ | 1648 masm->popfq(); \ |
1653 } \ | 1649 } \ |
1654 masm-> | 1650 masm-> |
1655 #else | 1651 #else |
1656 #define ACCESS_MASM(masm) masm-> | 1652 #define ACCESS_MASM(masm) masm-> |
1657 #endif | 1653 #endif |
1658 | 1654 |
1659 } } // namespace v8::internal | 1655 } } // namespace v8::internal |
1660 | 1656 |
1661 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1657 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |