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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 Register scratch, | 193 Register scratch, |
194 SaveFPRegsMode save_fp, | 194 SaveFPRegsMode save_fp, |
195 RememberedSetFinalAction and_then); | 195 RememberedSetFinalAction and_then); |
196 | 196 |
197 void CheckPageFlag(Register object, | 197 void CheckPageFlag(Register object, |
198 Register scratch, | 198 Register scratch, |
199 int mask, | 199 int mask, |
200 Condition cc, | 200 Condition cc, |
201 Label* condition_met); | 201 Label* condition_met); |
202 | 202 |
203 void CheckMapDeprecated(Handle<Map> map, | |
204 Register scratch, | |
205 Label* if_deprecated); | |
206 | |
207 // Check if object is in new space. Jumps if the object is not in new space. | 203 // Check if object is in new space. Jumps if the object is not in new space. |
208 // The register scratch can be object itself, but scratch will be clobbered. | 204 // The register scratch can be object itself, but scratch will be clobbered. |
209 void JumpIfNotInNewSpace(Register object, | 205 void JumpIfNotInNewSpace(Register object, |
210 Register scratch, | 206 Register scratch, |
211 Label* branch) { | 207 Label* branch) { |
212 InNewSpace(object, scratch, ne, branch); | 208 InNewSpace(object, scratch, ne, branch); |
213 } | 209 } |
214 | 210 |
215 // Check if object is in new space. Jumps if the object is in new space. | 211 // Check if object is in new space. Jumps if the object is in new space. |
216 // The register scratch can be object itself, but it will be clobbered. | 212 // The register scratch can be object itself, but it will be clobbered. |
(...skipping 1339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1556 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1552 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1557 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1553 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1558 #else | 1554 #else |
1559 #define ACCESS_MASM(masm) masm-> | 1555 #define ACCESS_MASM(masm) masm-> |
1560 #endif | 1556 #endif |
1561 | 1557 |
1562 | 1558 |
1563 } } // namespace v8::internal | 1559 } } // namespace v8::internal |
1564 | 1560 |
1565 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1561 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |