Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 494e9311b235172d178d7afa67ac5be77204f69c..9252c59fae1131c1dfc5e0e0cdacb9340eececdc 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -8052,8 +8052,12 @@ Object* ModuleInfoEntry::local_name() const { return get(kLocalNameIndex); } |
Object* ModuleInfoEntry::import_name() const { return get(kImportNameIndex); } |
-Object* ModuleInfoEntry::module_request() const { |
- return get(kModuleRequestIndex); |
+int ModuleInfoEntry::module_request() const { |
+ return Smi::cast(get(kModuleRequestIndex))->value(); |
+} |
+ |
+int ModuleInfoEntry::cell_index() const { |
+ return Smi::cast(get(kCellIndexIndex))->value(); |
} |
int ModuleInfoEntry::beg_pos() const { |