Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index e8a9fe2061fec74da5649838d2eb566b933fa725..b8fe6b993b4728e1ef092892efd7c8f766156317 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -3208,7 +3208,7 @@ void Isolate::AddDetachedContext(Handle<Context> context) { |
Handle<FixedArray> detached_contexts = factory()->detached_contexts(); |
int length = detached_contexts->length(); |
detached_contexts = factory()->CopyFixedArrayAndGrow(detached_contexts, 2); |
- detached_contexts->set(length, Smi::kZero); |
+ detached_contexts->set(length, Smi::FromInt(0)); |
detached_contexts->set(length + 1, *cell); |
heap()->set_detached_contexts(*detached_contexts); |
} |