| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PPC_MACRO_ASSEMBLER_PPC_H_ | 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
| 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
| 10 #include "src/frames.h" | 10 #include "src/frames.h" |
| (...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 712 Label* gc_required); | 712 Label* gc_required); |
| 713 void AllocateOneByteSlicedString(Register result, Register length, | 713 void AllocateOneByteSlicedString(Register result, Register length, |
| 714 Register scratch1, Register scratch2, | 714 Register scratch1, Register scratch2, |
| 715 Label* gc_required); | 715 Label* gc_required); |
| 716 | 716 |
| 717 // Allocates a heap number or jumps to the gc_required label if the young | 717 // Allocates a heap number or jumps to the gc_required label if the young |
| 718 // space is full and a scavenge is needed. All registers are clobbered also | 718 // space is full and a scavenge is needed. All registers are clobbered also |
| 719 // when control continues at the gc_required label. | 719 // when control continues at the gc_required label. |
| 720 void AllocateHeapNumber(Register result, Register scratch1, Register scratch2, | 720 void AllocateHeapNumber(Register result, Register scratch1, Register scratch2, |
| 721 Register heap_number_map, Label* gc_required, | 721 Register heap_number_map, Label* gc_required, |
| 722 TaggingMode tagging_mode = TAG_RESULT, | |
| 723 MutableMode mode = IMMUTABLE); | 722 MutableMode mode = IMMUTABLE); |
| 724 void AllocateHeapNumberWithValue(Register result, DoubleRegister value, | 723 void AllocateHeapNumberWithValue(Register result, DoubleRegister value, |
| 725 Register scratch1, Register scratch2, | 724 Register scratch1, Register scratch2, |
| 726 Register heap_number_map, | 725 Register heap_number_map, |
| 727 Label* gc_required); | 726 Label* gc_required); |
| 728 | 727 |
| 729 // Allocate and initialize a JSValue wrapper with the specified {constructor} | 728 // Allocate and initialize a JSValue wrapper with the specified {constructor} |
| 730 // and {value}. | 729 // and {value}. |
| 731 void AllocateJSValue(Register result, Register constructor, Register value, | 730 void AllocateJSValue(Register result, Register constructor, Register value, |
| 732 Register scratch1, Register scratch2, | 731 Register scratch1, Register scratch2, |
| (...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1643 #define ACCESS_MASM(masm) \ | 1642 #define ACCESS_MASM(masm) \ |
| 1644 masm->stop(__FILE_LINE__); \ | 1643 masm->stop(__FILE_LINE__); \ |
| 1645 masm-> | 1644 masm-> |
| 1646 #else | 1645 #else |
| 1647 #define ACCESS_MASM(masm) masm-> | 1646 #define ACCESS_MASM(masm) masm-> |
| 1648 #endif | 1647 #endif |
| 1649 } // namespace internal | 1648 } // namespace internal |
| 1650 } // namespace v8 | 1649 } // namespace v8 |
| 1651 | 1650 |
| 1652 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 1651 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
| OLD | NEW |