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

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

Issue 1544043002: PPC: Fix "Remove inlined marking part." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 12 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 | « no previous file | no next file » | 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 // Check if object is in new space. Jumps if the object is in new space. 205 // Check if object is in new space. Jumps if the object is in new space.
206 // The register scratch can be object itself, but it will be clobbered. 206 // The register scratch can be object itself, but it will be clobbered.
207 void JumpIfInNewSpace(Register object, Register scratch, Label* branch) { 207 void JumpIfInNewSpace(Register object, Register scratch, Label* branch) {
208 InNewSpace(object, scratch, eq, branch); 208 InNewSpace(object, scratch, eq, branch);
209 } 209 }
210 210
211 // Check if an object has a given incremental marking color. 211 // Check if an object has a given incremental marking color.
212 void HasColor(Register object, Register scratch0, Register scratch1, 212 void HasColor(Register object, Register scratch0, Register scratch1,
213 Label* has_color, int first_bit, int second_bit); 213 Label* has_color, int first_bit, int second_bit);
214 214
215 void JumpIfBlack(Register object, Register scratch0, Register scratch1,
216 Label* on_black);
217
215 // Checks the color of an object. If the object is white we jump to the 218 // Checks the color of an object. If the object is white we jump to the
216 // incremental marker. 219 // incremental marker.
217 void JumpIfWhite(Register value, Register scratch1, Register scratch2, 220 void JumpIfWhite(Register value, Register scratch1, Register scratch2,
218 Register scratch3, Label* value_is_white); 221 Register scratch3, Label* value_is_white);
219 222
220 // Notify the garbage collector that we wrote a pointer into an object. 223 // Notify the garbage collector that we wrote a pointer into an object.
221 // |object| is the object being stored into, |value| is the object being 224 // |object| is the object being stored into, |value| is the object being
222 // stored. value and scratch registers are clobbered by the operation. 225 // stored. value and scratch registers are clobbered by the operation.
223 // The offset is the offset from the start of the object, not the offset from 226 // The offset is the offset from the start of the object, not the offset from
224 // the tagged HeapObject pointer. For use with FieldMemOperand(reg, off). 227 // the tagged HeapObject pointer. For use with FieldMemOperand(reg, off).
(...skipping 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after
1573 #define ACCESS_MASM(masm) \ 1576 #define ACCESS_MASM(masm) \
1574 masm->stop(__FILE_LINE__); \ 1577 masm->stop(__FILE_LINE__); \
1575 masm-> 1578 masm->
1576 #else 1579 #else
1577 #define ACCESS_MASM(masm) masm-> 1580 #define ACCESS_MASM(masm) masm->
1578 #endif 1581 #endif
1579 } // namespace internal 1582 } // namespace internal
1580 } // namespace v8 1583 } // namespace v8
1581 1584
1582 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ 1585 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698