| 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/mips/assembler-mips.h" | 10 #include "src/mips/assembler-mips.h" |
| (...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 Label* gc_required); | 539 Label* gc_required); |
| 540 | 540 |
| 541 // Allocates a heap number or jumps to the gc_required label if the young | 541 // Allocates a heap number or jumps to the gc_required label if the young |
| 542 // space is full and a scavenge is needed. All registers are clobbered also | 542 // space is full and a scavenge is needed. All registers are clobbered also |
| 543 // when control continues at the gc_required label. | 543 // when control continues at the gc_required label. |
| 544 void AllocateHeapNumber(Register result, | 544 void AllocateHeapNumber(Register result, |
| 545 Register scratch1, | 545 Register scratch1, |
| 546 Register scratch2, | 546 Register scratch2, |
| 547 Register heap_number_map, | 547 Register heap_number_map, |
| 548 Label* gc_required, | 548 Label* gc_required, |
| 549 TaggingMode tagging_mode = TAG_RESULT); | 549 TaggingMode tagging_mode = TAG_RESULT, |
| 550 MutableMode mode = IMMUTABLE); |
| 550 void AllocateHeapNumberWithValue(Register result, | 551 void AllocateHeapNumberWithValue(Register result, |
| 551 FPURegister value, | 552 FPURegister value, |
| 552 Register scratch1, | 553 Register scratch1, |
| 553 Register scratch2, | 554 Register scratch2, |
| 554 Label* gc_required); | 555 Label* gc_required); |
| 555 | 556 |
| 556 // --------------------------------------------------------------------------- | 557 // --------------------------------------------------------------------------- |
| 557 // Instruction macros. | 558 // Instruction macros. |
| 558 | 559 |
| 559 #define DEFINE_INSTRUCTION(instr) \ | 560 #define DEFINE_INSTRUCTION(instr) \ |
| (...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1689 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1690 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 1690 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1691 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1691 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1692 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1692 #else | 1693 #else |
| 1693 #define ACCESS_MASM(masm) masm-> | 1694 #define ACCESS_MASM(masm) masm-> |
| 1694 #endif | 1695 #endif |
| 1695 | 1696 |
| 1696 } } // namespace v8::internal | 1697 } } // namespace v8::internal |
| 1697 | 1698 |
| 1698 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1699 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |