Revision: 15605
Author: [email protected]
Date: Wed Jul 10 09:03:00 2013
Log: Fix unary op type feedback.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/18526003
http://code.google.com/p/v8/source/detail?r=15605
Modified:
/branches/bleeding_edge/src/objects-inl.h
/branches/bleeding_edge/src/type-info.cc
=======================================
--- /branches/bleeding_edge/src/objects-inl.h Mon Jul 8 08:00:12 2013
+++ /branches/bleeding_edge/src/objects-inl.h Wed Jul 10 09:03:00 2013
@@ -3745,7 +3745,8 @@
Code::ExtraICState Code::extra_ic_state() {
- ASSERT(is_inline_cache_stub() || ic_state() == DEBUG_STUB);
+ ASSERT((is_inline_cache_stub() && !needs_extended_extra_ic_state(kind()))
+ || ic_state() == DEBUG_STUB);
return ExtractExtraICStateFromFlags(flags());
}
=======================================
--- /branches/bleeding_edge/src/type-info.cc Tue Jul 9 01:22:41 2013
+++ /branches/bleeding_edge/src/type-info.cc Wed Jul 10 09:03:00 2013
@@ -394,7 +394,7 @@
}
Handle<Code> code = Handle<Code>::cast(object);
ASSERT(code->is_unary_op_stub());
- return UnaryOpStub(code->extra_ic_state()).GetType(isolate());
+ return UnaryOpStub(code->extended_extra_ic_state()).GetType(isolate());
}
--
--
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.