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

Unified Diff: src/type-info.cc

Issue 14081008: Type feedback for Unary Plus (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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/type-info.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 39a01f59e8d826c41f027133af064d8289a4ca55..2bdbd38d0922e4be10ed3b5a9c4e884e4fdf496e 100644
--- a/src/type-info.cc
+++ b/src/type-info.cc
@@ -458,11 +458,11 @@ static TypeInfo TypeFromBinaryOpType(BinaryOpIC::TypeInfo binary_type) {
}
-void TypeFeedbackOracle::BinaryType(BinaryOperation* expr,
+void TypeFeedbackOracle::BinaryType(TypeFeedbackId type_feedback_id,
TypeInfo* left,
TypeInfo* right,
TypeInfo* result) {
- Handle<Object> object = GetInfo(expr->BinaryOperationFeedbackId());
+ Handle<Object> object = GetInfo(type_feedback_id);
TypeInfo unknown = TypeInfo::Unknown();
if (!object->IsCode()) {
*left = *right = *result = unknown;
« no previous file with comments | « src/type-info.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698