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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
613 Label* gc_required); | 613 Label* gc_required); |
614 | 614 |
615 // Allocates a heap number or jumps to the gc_required label if the young | 615 // Allocates a heap number or jumps to the gc_required label if the young |
616 // space is full and a scavenge is needed. All registers are clobbered also | 616 // space is full and a scavenge is needed. All registers are clobbered also |
617 // when control continues at the gc_required label. | 617 // when control continues at the gc_required label. |
618 void AllocateHeapNumber(Register result, | 618 void AllocateHeapNumber(Register result, |
619 Register scratch1, | 619 Register scratch1, |
620 Register scratch2, | 620 Register scratch2, |
621 Register heap_number_map, | 621 Register heap_number_map, |
622 Label* gc_required, | 622 Label* gc_required, |
623 TaggingMode tagging_mode = TAG_RESULT, | |
624 MutableMode mode = IMMUTABLE); | 623 MutableMode mode = IMMUTABLE); |
625 | 624 |
626 void AllocateHeapNumberWithValue(Register result, | 625 void AllocateHeapNumberWithValue(Register result, |
627 FPURegister value, | 626 FPURegister value, |
628 Register scratch1, | 627 Register scratch1, |
629 Register scratch2, | 628 Register scratch2, |
630 Label* gc_required); | 629 Label* gc_required); |
631 | 630 |
632 // Allocate and initialize a JSValue wrapper with the specified {constructor} | 631 // Allocate and initialize a JSValue wrapper with the specified {constructor} |
633 // and {value}. | 632 // and {value}. |
(...skipping 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2010 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2009 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2011 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2010 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2012 #else | 2011 #else |
2013 #define ACCESS_MASM(masm) masm-> | 2012 #define ACCESS_MASM(masm) masm-> |
2014 #endif | 2013 #endif |
2015 | 2014 |
2016 } // namespace internal | 2015 } // namespace internal |
2017 } // namespace v8 | 2016 } // namespace v8 |
2018 | 2017 |
2019 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 2018 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |