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

Unified Diff: src/x64/macro-assembler-x64.h

Issue 1632913003: [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: mips ports 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/snapshot/serialize.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x64/macro-assembler-x64.h
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h
index db5f204cf8cea0cb1ac2adfd62c611d5add13877..c1c1b0474fa025dc0d3f5040b98f063f024f5833 100644
--- a/src/x64/macro-assembler-x64.h
+++ b/src/x64/macro-assembler-x64.h
@@ -218,7 +218,7 @@ class MacroAssembler: public Assembler {
Register scratch,
Label* branch,
Label::Distance distance = Label::kFar) {
- InNewSpace(object, scratch, not_equal, branch, distance);
+ InNewSpace(object, scratch, zero, branch, distance);
}
// Check if object is in new space. Jumps if the object is in new space.
@@ -227,7 +227,7 @@ class MacroAssembler: public Assembler {
Register scratch,
Label* branch,
Label::Distance distance = Label::kFar) {
- InNewSpace(object, scratch, equal, branch, distance);
+ InNewSpace(object, scratch, not_zero, branch, distance);
}
// Check if an object has the black incremental marking color. Also uses rcx!
« no previous file with comments | « src/snapshot/serialize.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698