Index: src/bootstrapper.h |
diff --git a/src/bootstrapper.h b/src/bootstrapper.h |
index b69a73acf7f35e78f57c39a1f4a384b5d93e94e6..659d74aad257f110c98a9f44273d54a0e2afded1 100644 |
--- a/src/bootstrapper.h |
+++ b/src/bootstrapper.h |
@@ -52,7 +52,7 @@ class SourceCodeCache final BASE_EMBEDDED { |
DCHECK(!str.is_null()); |
cache_->set(length, *str); |
cache_->set(length + 1, *shared); |
- Script::cast(shared->script())->set_type(Smi::FromInt(type_)); |
+ Script::cast(shared->script())->set_type(type_); |
} |
private: |