Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index 8d780a24177b430e278cf444807899636d4cf595..d02b251d7852e7917afa488fda749847b467b0e8 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -802,6 +802,9 @@ void FullCodeGenerator::VisitVariableDeclaration( |
PrepareForBailoutForId(proxy->id(), BailoutState::NO_REGISTERS); |
break; |
} |
+ |
+ case VariableLocation::MODULE: |
+ UNREACHABLE(); |
} |
} |
@@ -861,6 +864,9 @@ void FullCodeGenerator::VisitFunctionDeclaration( |
PrepareForBailoutForId(proxy->id(), BailoutState::NO_REGISTERS); |
break; |
} |
+ |
+ case VariableLocation::MODULE: |
+ UNREACHABLE(); |
} |
} |
@@ -1352,7 +1358,11 @@ void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy, |
__ CallRuntime(function_id); |
__ bind(&done); |
context()->Plug(v0); |
+ break; |
} |
+ |
+ case VariableLocation::MODULE: |
+ UNREACHABLE(); |
} |
} |