| Index: src/full-codegen/full-codegen.cc
|
| diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc
|
| index 2173accfd5f67e714c36855bda59da927eff5f67..19ba80295faed21b6d0ea2702a474bdc8a8f75bf 100644
|
| --- a/src/full-codegen/full-codegen.cc
|
| +++ b/src/full-codegen/full-codegen.cc
|
| @@ -407,30 +407,6 @@ void FullCodeGenerator::VisitDeclarations(
|
| }
|
|
|
|
|
| -void FullCodeGenerator::VisitImportDeclaration(ImportDeclaration* declaration) {
|
| - VariableProxy* proxy = declaration->proxy();
|
| - Variable* variable = proxy->var();
|
| - switch (variable->location()) {
|
| - case VariableLocation::GLOBAL:
|
| - case VariableLocation::UNALLOCATED:
|
| - // TODO(rossberg)
|
| - break;
|
| -
|
| - case VariableLocation::CONTEXT: {
|
| - Comment cmnt(masm_, "[ ImportDeclaration");
|
| - EmitDebugCheckDeclarationContext(variable);
|
| - // TODO(rossberg)
|
| - break;
|
| - }
|
| -
|
| - case VariableLocation::PARAMETER:
|
| - case VariableLocation::LOCAL:
|
| - case VariableLocation::LOOKUP:
|
| - UNREACHABLE();
|
| - }
|
| -}
|
| -
|
| -
|
| void FullCodeGenerator::VisitVariableProxy(VariableProxy* expr) {
|
| Comment cmnt(masm_, "[ VariableProxy");
|
| EmitVariableLoad(expr);
|
|
|