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

Unified Diff: src/objects-inl.h

Issue 19257002: Fix --track_gc_object_stats option. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address Daniel's comments. Created 7 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
« src/objects.h ('K') | « src/objects.h ('k') | src/v8-counters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index a8aa1bfe6bffde388037d4c9844bf06143bf4067..aa7a0551f67c3c1c7e1b9a5596888238b78d702d 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -3606,6 +3606,9 @@ bool Map::is_frozen() {
return IsFrozen::decode(bit_field3());
}
Hannes Payer (out of office) 2013/07/16 14:39:28 add newline
rmcilroy_google 2013/07/16 15:03:01 Done.
+bool Map::has_code_cache() {
+ return code_cache() != GetIsolate()->heap()->empty_fixed_array();
+}
Hannes Payer (out of office) 2013/07/16 14:39:28 add newline
rmcilroy_google 2013/07/16 15:03:01 Done.
bool Map::CanBeDeprecated() {
int descriptor = LastAdded();
@@ -4344,7 +4347,6 @@ HeapObject* Map::UncheckedPrototypeTransitions() {
return unchecked_transition_array()->UncheckedPrototypeTransitions();
}
-
danno 2013/07/16 14:20:34 Can you please remove this whitespace change?
rmcilroy_google 2013/07/16 15:03:01 Opps, Done.
ACCESSORS(Map, code_cache, Object, kCodeCacheOffset)
ACCESSORS(Map, dependent_code, DependentCode, kDependentCodeOffset)
ACCESSORS(Map, constructor, Object, kConstructorOffset)
« src/objects.h ('K') | « src/objects.h ('k') | src/v8-counters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698