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

Unified Diff: src/objects.h

Issue 12114054: Supporting AllocationSiteInfo for Nested arrays (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Some updates Created 7 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
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 12413123c09c2a922da3f76a7fbe3679a3dd0609..3e67af8db1e9fcfcfc57485810ac523976952e0c 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -1613,6 +1613,8 @@ class JSObject: public JSReceiver {
bool HasDictionaryArgumentsElements();
inline SeededNumberDictionary* element_dictionary(); // Gets slow elements.
+ inline bool ShouldTrackAllocationInfo();
+
inline void set_map_and_elements(
Map* map,
FixedArrayBase* value,
@@ -8284,6 +8286,8 @@ class JSArray: public JSObject {
// least the stated size.
inline void EnsureSize(int minimum_size_of_backing_fixed_array);
+ inline bool ShouldTrackAllocationInfo();
danno 2013/02/11 15:05:21 See previous comments, I think this method is supe
+
// Dispatched behavior.
DECLARE_PRINTER(JSArray)
DECLARE_VERIFIER(JSArray)

Powered by Google App Engine
This is Rietveld 408576698