| 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 556 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   567                                  Label* gc_required); |   567                                  Label* gc_required); | 
|   568  |   568  | 
|   569   // Allocates a heap number or jumps to the gc_required label if the young |   569   // Allocates a heap number or jumps to the gc_required label if the young | 
|   570   // space is full and a scavenge is needed. All registers are clobbered also |   570   // space is full and a scavenge is needed. All registers are clobbered also | 
|   571   // when control continues at the gc_required label. |   571   // when control continues at the gc_required label. | 
|   572   void AllocateHeapNumber(Register result, |   572   void AllocateHeapNumber(Register result, | 
|   573                           Register scratch1, |   573                           Register scratch1, | 
|   574                           Register scratch2, |   574                           Register scratch2, | 
|   575                           Register heap_number_map, |   575                           Register heap_number_map, | 
|   576                           Label* gc_required, |   576                           Label* gc_required, | 
|   577                           TaggingMode tagging_mode = TAG_RESULT); |   577                           TaggingMode tagging_mode = TAG_RESULT, | 
 |   578                           MutableMode mode = IMMUTABLE); | 
 |   579  | 
|   578   void AllocateHeapNumberWithValue(Register result, |   580   void AllocateHeapNumberWithValue(Register result, | 
|   579                                    FPURegister value, |   581                                    FPURegister value, | 
|   580                                    Register scratch1, |   582                                    Register scratch1, | 
|   581                                    Register scratch2, |   583                                    Register scratch2, | 
|   582                                    Label* gc_required); |   584                                    Label* gc_required); | 
|   583  |   585  | 
|   584   // --------------------------------------------------------------------------- |   586   // --------------------------------------------------------------------------- | 
|   585   // Instruction macros. |   587   // Instruction macros. | 
|   586  |   588  | 
|   587 #define DEFINE_INSTRUCTION(instr)                                              \ |   589 #define DEFINE_INSTRUCTION(instr)                                              \ | 
| (...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1781 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |  1783 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 
|  1782 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |  1784 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 
|  1783 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |  1785 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 
|  1784 #else |  1786 #else | 
|  1785 #define ACCESS_MASM(masm) masm-> |  1787 #define ACCESS_MASM(masm) masm-> | 
|  1786 #endif |  1788 #endif | 
|  1787  |  1789  | 
|  1788 } }  // namespace v8::internal |  1790 } }  // namespace v8::internal | 
|  1789  |  1791  | 
|  1790 #endif  // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |  1792 #endif  // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 
| OLD | NEW |