Index: src/builtins/builtins-dataview.cc |
diff --git a/src/builtins/builtins-dataview.cc b/src/builtins/builtins-dataview.cc |
index 3d14e31d3a3ba377f47eb2dc2b46e66461169849..7eb7f534a42ac4e16c7ec495fb100a313d1c8744 100644 |
--- a/src/builtins/builtins-dataview.cc |
+++ b/src/builtins/builtins-dataview.cc |
@@ -88,7 +88,7 @@ BUILTIN(DataViewConstructor_ConstructStub) { |
ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, |
JSObject::New(target, new_target)); |
for (int i = 0; i < ArrayBufferView::kInternalFieldCount; ++i) { |
- Handle<JSDataView>::cast(result)->SetInternalField(i, Smi::FromInt(0)); |
+ Handle<JSDataView>::cast(result)->SetInternalField(i, Smi::kZero); |
} |
// 12. Set O's [[ViewedArrayBuffer]] internal slot to buffer. |