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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 Label* gc_required); | 581 Label* gc_required); |
582 | 582 |
583 // Allocates a heap number or jumps to the gc_required label if the young | 583 // Allocates a heap number or jumps to the gc_required label if the young |
584 // space is full and a scavenge is needed. All registers are clobbered also | 584 // space is full and a scavenge is needed. All registers are clobbered also |
585 // when control continues at the gc_required label. | 585 // when control continues at the gc_required label. |
586 void AllocateHeapNumber(Register result, | 586 void AllocateHeapNumber(Register result, |
587 Register scratch1, | 587 Register scratch1, |
588 Register scratch2, | 588 Register scratch2, |
589 Register heap_number_map, | 589 Register heap_number_map, |
590 Label* gc_required, | 590 Label* gc_required, |
591 TaggingMode tagging_mode = TAG_RESULT, | |
592 MutableMode mode = IMMUTABLE); | 591 MutableMode mode = IMMUTABLE); |
593 void AllocateHeapNumberWithValue(Register result, | 592 void AllocateHeapNumberWithValue(Register result, |
594 FPURegister value, | 593 FPURegister value, |
595 Register scratch1, | 594 Register scratch1, |
596 Register scratch2, | 595 Register scratch2, |
597 Label* gc_required); | 596 Label* gc_required); |
598 | 597 |
599 // Allocate and initialize a JSValue wrapper with the specified {constructor} | 598 // Allocate and initialize a JSValue wrapper with the specified {constructor} |
600 // and {value}. | 599 // and {value}. |
601 void AllocateJSValue(Register result, Register constructor, Register value, | 600 void AllocateJSValue(Register result, Register constructor, Register value, |
(...skipping 1266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1868 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1867 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1869 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1868 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1870 #else | 1869 #else |
1871 #define ACCESS_MASM(masm) masm-> | 1870 #define ACCESS_MASM(masm) masm-> |
1872 #endif | 1871 #endif |
1873 | 1872 |
1874 } // namespace internal | 1873 } // namespace internal |
1875 } // namespace v8 | 1874 } // namespace v8 |
1876 | 1875 |
1877 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1876 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |