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

Unified Diff: src/globals.h

Issue 391413006: Track history of events in GCTracer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Reset longest step in Stop() + remove obsolete code. Created 6 years, 5 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 | src/heap.h » ('j') | src/heap.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index 871164eaefe6059f9ed700beb3dbbdca9d780078..982b8a06ca9664e7b0f3f356f71ca8821ec965da 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -358,7 +358,7 @@ enum MinimumCapacity {
USE_CUSTOM_MINIMUM_CAPACITY
};
-enum GarbageCollector { SCAVENGER, MARK_COMPACTOR };
+enum GarbageCollector { SCAVENGER = 0, MARK_COMPACTOR = 1};
Hannes Payer (out of office) 2014/07/22 09:10:17 Why do you have to initialize it with =0, and =1?
ernstm 2014/07/22 14:09:28 Not needed any more, with the introduction of Even
enum Executability { NOT_EXECUTABLE, EXECUTABLE };
« no previous file with comments | « no previous file | src/heap.h » ('j') | src/heap.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698