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/crankshaft/typing.h" | 5 #include "src/crankshaft/typing.h" |
6 | 6 |
7 #include "src/ast/scopes.h" | 7 #include "src/ast/scopes.h" |
8 #include "src/frames.h" | 8 #include "src/frames.h" |
9 #include "src/frames-inl.h" | 9 #include "src/frames-inl.h" |
10 #include "src/ostreams.h" | 10 #include "src/ostreams.h" |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 | 330 |
331 | 331 |
332 void AstTyper::VisitDebuggerStatement(DebuggerStatement* stmt) { | 332 void AstTyper::VisitDebuggerStatement(DebuggerStatement* stmt) { |
333 store_.Forget(); // May do whatever. | 333 store_.Forget(); // May do whatever. |
334 } | 334 } |
335 | 335 |
336 | 336 |
337 void AstTyper::VisitFunctionLiteral(FunctionLiteral* expr) {} | 337 void AstTyper::VisitFunctionLiteral(FunctionLiteral* expr) {} |
338 | 338 |
339 | 339 |
340 void AstTyper::VisitClassLiteral(ClassLiteral* expr) {} | |
341 | |
342 | |
343 void AstTyper::VisitNativeFunctionLiteral(NativeFunctionLiteral* expr) { | 340 void AstTyper::VisitNativeFunctionLiteral(NativeFunctionLiteral* expr) { |
344 } | 341 } |
345 | 342 |
346 | 343 |
347 void AstTyper::VisitDoExpression(DoExpression* expr) { | 344 void AstTyper::VisitDoExpression(DoExpression* expr) { |
348 RECURSE(VisitBlock(expr->block())); | 345 RECURSE(VisitBlock(expr->block())); |
349 RECURSE(VisitVariableProxy(expr->result())); | 346 RECURSE(VisitVariableProxy(expr->result())); |
350 NarrowType(expr, bounds_->get(expr->result())); | 347 NarrowType(expr, bounds_->get(expr->result())); |
351 } | 348 } |
352 | 349 |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
785 RECURSE(Visit(declaration->fun())); | 782 RECURSE(Visit(declaration->fun())); |
786 } | 783 } |
787 | 784 |
788 | 785 |
789 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) { | 786 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) { |
790 } | 787 } |
791 | 788 |
792 | 789 |
793 } // namespace internal | 790 } // namespace internal |
794 } // namespace v8 | 791 } // namespace v8 |
OLD | NEW |