Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index 6f43497a799ed73d0d6b1c6845d6bfcb400fb36f..c6eb2cc6fa33022bf085cc96f3d6f0151bd2c1b3 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -496,7 +496,7 @@ void FullCodeGenerator::RecordBackEdge(BailoutId ast_id) { |
bool FullCodeGenerator::ShouldInlineSmiCase(Token::Value op) { |
// Inline smi case inside loops, but not division and modulo which |
// are too complicated and take up too much space. |
- if (op == Token::DIV ||op == Token::MOD) return false; |
+ if (op == Token::DIV ||op == Token::MOD || op == Token::EXP) return false; |
if (FLAG_always_inline_smi_code) return true; |
return loop_depth_ > 0; |
} |