Index: src/ast/scopeinfo.cc |
diff --git a/src/ast/scopeinfo.cc b/src/ast/scopeinfo.cc |
index cf58e44c5bc8ae3b28dc2bb0377d6caf9f4a4d07..c4e43077afd4813f5e734b8fdfa4a2945e05874b 100644 |
--- a/src/ast/scopeinfo.cc |
+++ b/src/ast/scopeinfo.cc |
@@ -867,12 +867,15 @@ Handle<ModuleInfoEntry> ModuleInfoEntry::New(Isolate* isolate, |
Handle<Object> export_name, |
Handle<Object> local_name, |
Handle<Object> import_name, |
- Handle<Object> module_request) { |
+ Handle<Object> module_request, |
+ int beg_pos, int end_pos) { |
Handle<ModuleInfoEntry> result = isolate->factory()->NewModuleInfoEntry(); |
result->set(kExportNameIndex, *export_name); |
result->set(kLocalNameIndex, *local_name); |
result->set(kImportNameIndex, *import_name); |
result->set(kModuleRequestIndex, *module_request); |
+ result->set(kBegPosIndex, Smi::FromInt(beg_pos)); |
+ result->set(kEndPosIndex, Smi::FromInt(end_pos)); |
return result; |
} |