| OLD | NEW | 
|    1 // Copyright 2013 the V8 project authors. All rights reserved. |    1 // Copyright 2013 the V8 project authors. All rights reserved. | 
|    2 // Use of this source code is governed by a BSD-style license that can be |    2 // Use of this source code is governed by a BSD-style license that can be | 
|    3 // found in the LICENSE file. |    3 // found in the LICENSE file. | 
|    4  |    4  | 
|    5 #include "src/typing.h" |    5 #include "src/typing.h" | 
|    6  |    6  | 
|    7 #include "src/frames.h" |    7 #include "src/frames.h" | 
|    8 #include "src/frames-inl.h" |    8 #include "src/frames-inl.h" | 
|    9 #include "src/ostreams.h" |    9 #include "src/ostreams.h" | 
|   10 #include "src/parser.h"  // for CompileTimeValue; TODO(rossberg): should move |   10 #include "src/parser.h"  // for CompileTimeValue; TODO(rossberg): should move | 
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  339   store_.Forget();  // Control may transfer here via 'throw'. |  339   store_.Forget();  // Control may transfer here via 'throw'. | 
|  340   RECURSE(Visit(stmt->finally_block())); |  340   RECURSE(Visit(stmt->finally_block())); | 
|  341 } |  341 } | 
|  342  |  342  | 
|  343  |  343  | 
|  344 void AstTyper::VisitDebuggerStatement(DebuggerStatement* stmt) { |  344 void AstTyper::VisitDebuggerStatement(DebuggerStatement* stmt) { | 
|  345   store_.Forget();  // May do whatever. |  345   store_.Forget();  // May do whatever. | 
|  346 } |  346 } | 
|  347  |  347  | 
|  348  |  348  | 
|  349 void AstTyper::VisitFunctionLiteral(FunctionLiteral* expr) { |  349 void AstTyper::VisitFunctionLiteral(FunctionLiteral* expr) {} | 
|  350   expr->InitializeSharedInfo(Handle<Code>(info_->closure()->shared()->code())); |  | 
|  351 } |  | 
|  352  |  350  | 
|  353  |  351  | 
|  354 void AstTyper::VisitClassLiteral(ClassLiteral* expr) {} |  352 void AstTyper::VisitClassLiteral(ClassLiteral* expr) {} | 
|  355  |  353  | 
|  356  |  354  | 
|  357 void AstTyper::VisitNativeFunctionLiteral(NativeFunctionLiteral* expr) { |  355 void AstTyper::VisitNativeFunctionLiteral(NativeFunctionLiteral* expr) { | 
|  358 } |  356 } | 
|  359  |  357  | 
|  360  |  358  | 
|  361 void AstTyper::VisitConditional(Conditional* expr) { |  359 void AstTyper::VisitConditional(Conditional* expr) { | 
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  787 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) { |  785 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) { | 
|  788 } |  786 } | 
|  789  |  787  | 
|  790  |  788  | 
|  791 void AstTyper::VisitExportDeclaration(ExportDeclaration* declaration) { |  789 void AstTyper::VisitExportDeclaration(ExportDeclaration* declaration) { | 
|  792 } |  790 } | 
|  793  |  791  | 
|  794  |  792  | 
|  795 }  // namespace internal |  793 }  // namespace internal | 
|  796 }  // namespace v8 |  794 }  // namespace v8 | 
| OLD | NEW |