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

Unified Diff: src/type-info.cc

Issue 18526003: Fix unary op type feedback. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
« no previous file with comments | « src/objects-inl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/type-info.cc
diff --git a/src/type-info.cc b/src/type-info.cc
index 4a10cafcc04e2e544e0b35d8d688757d1281fef2..b256bb406e4de7f8c40931b856d4b5ec46919bb1 100644
--- a/src/type-info.cc
+++ b/src/type-info.cc
@@ -394,7 +394,7 @@ Handle<Type> TypeFeedbackOracle::UnaryType(TypeFeedbackId id) {
}
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());
}
« no previous file with comments | « src/objects-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698