Index: src/type-info.cc |
diff --git a/src/type-info.cc b/src/type-info.cc |
index fa479b2e515b5c811b30c67bae9ce4c3fd4c9e09..7ed18a591ff53543a214925e1af7a2f47c118c39 100644 |
--- a/src/type-info.cc |
+++ b/src/type-info.cc |
@@ -368,6 +368,10 @@ TypeInfo TypeFeedbackOracle::BinaryType(BinaryOperation* expr) { |
case BinaryOpIC::SMI: |
switch (result_type) { |
case BinaryOpIC::UNINITIALIZED: |
+ if (expr->op() == Token::DIV) { |
+ return TypeInfo::Double(); |
+ } |
+ return TypeInfo::Smi(); |
case BinaryOpIC::SMI: |
return TypeInfo::Smi(); |
case BinaryOpIC::INT32: |