Index: src/keys.cc |
diff --git a/src/keys.cc b/src/keys.cc |
index d0fe72f8967d43fc513a990f9a64018e4c96b1b3..c6e31e3f231ccc855356d33c9c61b518fd3061e5 100644 |
--- a/src/keys.cc |
+++ b/src/keys.cc |
@@ -780,7 +780,7 @@ Maybe<bool> KeyAccumulator::CollectOwnJSProxyKeys(Handle<JSReceiver> receiver, |
target_keys->get(i)); |
nonconfigurable_keys_length++; |
// The key was moved, null it out in the original list. |
- target_keys->set(i, Smi::kZero); |
+ target_keys->set(i, Smi::FromInt(0)); |
} else { |
// 14c. Else, |
// 14c i. Append key as an element of targetConfigurableKeys. |