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

Unified Diff: src/mark-compact.h

Issue 6178006: Force inlining of MarkObject fast-path. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mark-compact.h
diff --git a/src/mark-compact.h b/src/mark-compact.h
index 9bd098e2bd59e5d87eeb0cf7e1aab87124b92450..56be21fdd9d308c9c0e3f36c7cba336435b354fb 100644
--- a/src/mark-compact.h
+++ b/src/mark-compact.h
@@ -289,7 +289,7 @@ class MarkCompactCollector: public AllStatic {
// Marking operations for objects reachable from roots.
static void MarkLiveObjects();
- static inline void MarkObject(HeapObject* obj) {
+ INLINE(static void MarkObject(HeapObject* obj)) {
if (!Marking::TestAndMark(obj->address())) {
tracer_->increment_marked_count();
#ifdef DEBUG
@@ -299,7 +299,7 @@ class MarkCompactCollector: public AllStatic {
}
}
- static inline void SetMark(HeapObject* obj) {
+ INLINE(static void SetMark(HeapObject* obj)) {
Marking::SetMark(obj);
tracer_->increment_marked_count();
#ifdef DEBUG
« 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