Revision: 18341
Author: [email protected]
Date: Wed Dec 18 10:30:31 2013 UTC
Log: Removed unused ShouldTrackAllocationInfo method.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/111723004
http://code.google.com/p/v8/source/detail?r=18341
Modified:
/branches/bleeding_edge/src/objects-inl.h
/branches/bleeding_edge/src/objects.h
=======================================
--- /branches/bleeding_edge/src/objects-inl.h Fri Dec 13 10:27:19 2013 UTC
+++ /branches/bleeding_edge/src/objects-inl.h Wed Dec 18 10:30:31 2013 UTC
@@ -1295,19 +1295,6 @@
}
#endif
}
-
-
-bool JSObject::ShouldTrackAllocationInfo() {
- if (AllocationSite::CanTrack(map()->instance_type())) {
- if (!IsJSArray()) {
- return true;
- }
-
- return AllocationSite::GetMode(GetElementsKind()) ==
- TRACK_ALLOCATION_SITE;
- }
- return false;
-}
void AllocationSite::Initialize() {
=======================================
--- /branches/bleeding_edge/src/objects.h Fri Dec 13 10:27:19 2013 UTC
+++ /branches/bleeding_edge/src/objects.h Wed Dec 18 10:30:31 2013 UTC
@@ -2117,8 +2117,6 @@
bool HasDictionaryArgumentsElements();
inline SeededNumberDictionary* element_dictionary(); // Gets slow
elements.
- inline bool ShouldTrackAllocationInfo();
-
inline void set_map_and_elements(
Map* map,
FixedArrayBase* value,
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.