Revision: 15254
Author: [email protected]
Date: Thu Jun 20 09:54:09 2013
Log: Handle MONOMORPIC loads where type feedback is code stub
[email protected]
Review URL: https://codereview.chromium.org/17451019
http://code.google.com/p/v8/source/detail?r=15254
Modified:
/branches/bleeding_edge/src/type-info.cc
=======================================
--- /branches/bleeding_edge/src/type-info.cc Thu Jun 20 06:09:43 2013
+++ /branches/bleeding_edge/src/type-info.cc Thu Jun 20 09:54:09 2013
@@ -486,7 +486,8 @@
ASSERT(Handle<Code>::cast(object)->ic_state() == GENERIC);
} else if (object->IsMap()) {
types->AddMapIfMissing(Handle<Map>::cast(object), zone());
- } else if (Handle<Code>::cast(object)->ic_state() == POLYMORPHIC) {
+ } else if (Handle<Code>::cast(object)->ic_state() == POLYMORPHIC ||
+ Handle<Code>::cast(object)->ic_state() == MONOMORPHIC) {
CollectPolymorphicMaps(Handle<Code>::cast(object), types);
} else if (FLAG_collect_megamorphic_maps_from_stub_cache &&
Handle<Code>::cast(object)->ic_state() == MEGAMORPHIC) {
--
--
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.