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

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

Issue 7000023: Do inline object filtering (via page flags) before call to RecordWriteStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
Index: src/ia32/macro-assembler-ia32.h
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h
index 6dfe89ac6c006d77f8ecdaede9c92a7d2273d1c9..4bb68d3a169f7fb725051bcb8468cfb4e148998b 100644
--- a/src/ia32/macro-assembler-ia32.h
+++ b/src/ia32/macro-assembler-ia32.h
@@ -88,11 +88,12 @@ class MacroAssembler: public Assembler {
Condition cc, // equal for new space, not_equal otherwise.
LabelType* branch);
- // Check if old-space object is on a scan-on-scavenge page.
- template <typename LabelType>
- void HasScanOnScavenge(Register object,
- Register scratch,
- LabelType* scan_on_scavenge);
+ template<typename LabelType>
+ void CheckPageFlag(Register object,
+ Register scratch,
+ MemoryChunk::MemoryChunkFlags flag,
+ Condition cc,
+ LabelType* not_set);
// Check if an object has a given incremental marking colour. Also uses ecx!
// The colour bits are found by splitting the address at the bit offset

Powered by Google App Engine
This is Rietveld 408576698