| Index: src/contexts.cc
|
| diff --git a/src/contexts.cc b/src/contexts.cc
|
| index 1e6fb6591dd6ec0a033cce0e2c7780959bb9af21..3447b42f47dc32d3f37055fc36d9fa30f365ab43 100644
|
| --- a/src/contexts.cc
|
| +++ b/src/contexts.cc
|
| @@ -124,12 +124,12 @@ ScopeInfo* Context::scope_info() {
|
| return ScopeInfo::cast(object);
|
| }
|
|
|
| -JSModule* Context::module() {
|
| +Module* Context::module() {
|
| Context* current = this;
|
| while (!current->IsModuleContext()) {
|
| current = current->previous();
|
| }
|
| - return JSModule::cast(current->extension());
|
| + return Module::cast(current->extension());
|
| }
|
|
|
| String* Context::catch_name() {
|
|
|