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

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

Issue 1687113002: PPC: [heap] Move to page lookups for SemiSpace, NewSpace, and Heap containment methods (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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 | 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 Register addr, Register scratch, 196 Register addr, Register scratch,
197 SaveFPRegsMode save_fp, 197 SaveFPRegsMode save_fp,
198 RememberedSetFinalAction and_then); 198 RememberedSetFinalAction and_then);
199 199
200 void CheckPageFlag(Register object, Register scratch, int mask, Condition cc, 200 void CheckPageFlag(Register object, Register scratch, int mask, Condition cc,
201 Label* condition_met); 201 Label* condition_met);
202 202
203 // Check if object is in new space. Jumps if the object is not in new space. 203 // Check if object is in new space. Jumps if the object is not in new space.
204 // The register scratch can be object itself, but scratch will be clobbered. 204 // The register scratch can be object itself, but scratch will be clobbered.
205 void JumpIfNotInNewSpace(Register object, Register scratch, Label* branch) { 205 void JumpIfNotInNewSpace(Register object, Register scratch, Label* branch) {
206 InNewSpace(object, scratch, ne, branch); 206 InNewSpace(object, scratch, eq, branch);
207 } 207 }
208 208
209 // Check if object is in new space. Jumps if the object is in new space. 209 // Check if object is in new space. Jumps if the object is in new space.
210 // The register scratch can be object itself, but it will be clobbered. 210 // The register scratch can be object itself, but it will be clobbered.
211 void JumpIfInNewSpace(Register object, Register scratch, Label* branch) { 211 void JumpIfInNewSpace(Register object, Register scratch, Label* branch) {
212 InNewSpace(object, scratch, eq, branch); 212 InNewSpace(object, scratch, ne, branch);
213 } 213 }
214 214
215 // Check if an object has a given incremental marking color. 215 // Check if an object has a given incremental marking color.
216 void HasColor(Register object, Register scratch0, Register scratch1, 216 void HasColor(Register object, Register scratch0, Register scratch1,
217 Label* has_color, int first_bit, int second_bit); 217 Label* has_color, int first_bit, int second_bit);
218 218
219 void JumpIfBlack(Register object, Register scratch0, Register scratch1, 219 void JumpIfBlack(Register object, Register scratch0, Register scratch1,
220 Label* on_black); 220 Label* on_black);
221 221
222 // Checks the color of an object. If the object is white we jump to the 222 // Checks the color of an object. If the object is white we jump to the
(...skipping 1384 matching lines...) Expand 10 before | Expand all | Expand 10 after
1607 #define ACCESS_MASM(masm) \ 1607 #define ACCESS_MASM(masm) \
1608 masm->stop(__FILE_LINE__); \ 1608 masm->stop(__FILE_LINE__); \
1609 masm-> 1609 masm->
1610 #else 1610 #else
1611 #define ACCESS_MASM(masm) masm-> 1611 #define ACCESS_MASM(masm) masm->
1612 #endif 1612 #endif
1613 } // namespace internal 1613 } // namespace internal
1614 } // namespace v8 1614 } // namespace v8
1615 1615
1616 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ 1616 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « no previous file | src/ppc/macro-assembler-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698