Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index 2a141af71d46acde6b33bdaf033adc27c85a0275..b73ab0bd6a6be5b171a1c1258d65e05c0c8f079f 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -1046,7 +1046,7 @@ void Shell::InstallUtilityScript(Isolate* isolate) { |
i::JSFunction::cast(*compiled_script)->shared()->script())) |
: i::Handle<i::Script>(i::Script::cast( |
i::SharedFunctionInfo::cast(*compiled_script)->script())); |
- script_object->set_type(i::Smi::FromInt(i::Script::TYPE_NATIVE)); |
+ script_object->set_type(i::Script::TYPE_NATIVE); |
} |
#endif // !V8_SHARED |