| Index: src/full-codegen/full-codegen.cc
|
| diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc
|
| index f8ffc3408bdc749e7a012f648e5cf58cadcbcc82..040e7c3e32e372c408d01617b681b73e4a66b62c 100644
|
| --- a/src/full-codegen/full-codegen.cc
|
| +++ b/src/full-codegen/full-codegen.cc
|
| @@ -405,30 +405,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);
|
|
|