Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Side by Side Diff: src/ppc/macro-assembler-ppc.h

Issue 1917353002: PPC: Get rid of AllocationFlags::TAG_OBJECT (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: removed subi instruction as subsequent addi handled kHeapObjectTag Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/ppc/codegen-ppc.cc ('k') | src/ppc/macro-assembler-ppc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/ppc/codegen-ppc.cc ('k') | src/ppc/macro-assembler-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698