Index: runtime/lib/integers.cc |
diff --git a/runtime/lib/integers.cc b/runtime/lib/integers.cc |
index 1ee5b2511bf078a681eeb5ded59def1fe1cb8c95..b1ca62c3e311877ca86ac568531c416d42b56f18 100644 |
--- a/runtime/lib/integers.cc |
+++ b/runtime/lib/integers.cc |
@@ -261,7 +261,7 @@ static RawInteger* ShiftOperationHelper(Token::Kind kind, |
} |
if (value.IsSmi()) { |
const Smi& smi_value = Smi::Cast(value); |
- return smi_value.ShiftOp(kind, amount, silent); |
+ return smi_value.ShiftOp(kind, amount, Heap::kNew, silent); |
} |
if (value.IsMint()) { |
const int64_t mint_value = value.AsInt64Value(); |