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_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 #include "src/mips64/assembler-mips64.h" | 10 #include "src/mips64/assembler-mips64.h" |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 Register scratch, | 329 Register scratch, |
330 SaveFPRegsMode save_fp, | 330 SaveFPRegsMode save_fp, |
331 RememberedSetFinalAction and_then); | 331 RememberedSetFinalAction and_then); |
332 | 332 |
333 void CheckPageFlag(Register object, | 333 void CheckPageFlag(Register object, |
334 Register scratch, | 334 Register scratch, |
335 int mask, | 335 int mask, |
336 Condition cc, | 336 Condition cc, |
337 Label* condition_met); | 337 Label* condition_met); |
338 | 338 |
339 void CheckMapDeprecated(Handle<Map> map, | |
340 Register scratch, | |
341 Label* if_deprecated); | |
342 | |
343 // Check if object is in new space. Jumps if the object is not in new space. | 339 // Check if object is in new space. Jumps if the object is not in new space. |
344 // The register scratch can be object itself, but it will be clobbered. | 340 // The register scratch can be object itself, but it will be clobbered. |
345 void JumpIfNotInNewSpace(Register object, | 341 void JumpIfNotInNewSpace(Register object, |
346 Register scratch, | 342 Register scratch, |
347 Label* branch) { | 343 Label* branch) { |
348 InNewSpace(object, scratch, ne, branch); | 344 InNewSpace(object, scratch, ne, branch); |
349 } | 345 } |
350 | 346 |
351 // Check if object is in new space. Jumps if the object is in new space. | 347 // Check if object is in new space. Jumps if the object is in new space. |
352 // The register scratch can be object itself, but scratch will be clobbered. | 348 // The register scratch can be object itself, but scratch will be clobbered. |
(...skipping 1443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1796 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1792 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1797 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1793 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1798 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1794 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1799 #else | 1795 #else |
1800 #define ACCESS_MASM(masm) masm-> | 1796 #define ACCESS_MASM(masm) masm-> |
1801 #endif | 1797 #endif |
1802 | 1798 |
1803 } } // namespace v8::internal | 1799 } } // namespace v8::internal |
1804 | 1800 |
1805 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1801 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |