| OLD | NEW | 
|     1 // Copyright 2014 the V8 project authors. All rights reserved. |     1 // Copyright 2014 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/compiler/ast-graph-builder.h" |     5 #include "src/compiler/ast-graph-builder.h" | 
|     6  |     6  | 
|     7 #include "src/ast/compile-time-value.h" |     7 #include "src/ast/compile-time-value.h" | 
|     8 #include "src/ast/scopes.h" |     8 #include "src/ast/scopes.h" | 
|     9 #include "src/compilation-info.h" |     9 #include "src/compilation-info.h" | 
|    10 #include "src/compiler.h" |    10 #include "src/compiler.h" | 
| (...skipping 2024 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2035 void AstGraphBuilder::VisitEmptyParentheses(EmptyParentheses* expr) { |  2035 void AstGraphBuilder::VisitEmptyParentheses(EmptyParentheses* expr) { | 
|  2036   // Handled entirely by the parser itself. |  2036   // Handled entirely by the parser itself. | 
|  2037   UNREACHABLE(); |  2037   UNREACHABLE(); | 
|  2038 } |  2038 } | 
|  2039  |  2039  | 
|  2040 void AstGraphBuilder::VisitGetIterator(GetIterator* expr) { |  2040 void AstGraphBuilder::VisitGetIterator(GetIterator* expr) { | 
|  2041   // GetIterator is supported only by going through Ignition first. |  2041   // GetIterator is supported only by going through Ignition first. | 
|  2042   UNREACHABLE(); |  2042   UNREACHABLE(); | 
|  2043 } |  2043 } | 
|  2044  |  2044  | 
 |  2045 void AstGraphBuilder::VisitImportCallExpression(ImportCallExpression* expr) { | 
 |  2046   // ImportCallExpression is supported only by going through Ignition first. | 
 |  2047   UNREACHABLE(); | 
 |  2048 } | 
 |  2049  | 
|  2045 void AstGraphBuilder::VisitThisFunction(ThisFunction* expr) { |  2050 void AstGraphBuilder::VisitThisFunction(ThisFunction* expr) { | 
|  2046   Node* value = GetFunctionClosure(); |  2051   Node* value = GetFunctionClosure(); | 
|  2047   ast_context()->ProduceValue(expr, value); |  2052   ast_context()->ProduceValue(expr, value); | 
|  2048 } |  2053 } | 
|  2049  |  2054  | 
|  2050  |  2055  | 
|  2051 void AstGraphBuilder::VisitSuperPropertyReference( |  2056 void AstGraphBuilder::VisitSuperPropertyReference( | 
|  2052     SuperPropertyReference* expr) { |  2057     SuperPropertyReference* expr) { | 
|  2053   UNREACHABLE(); |  2058   UNREACHABLE(); | 
|  2054 } |  2059 } | 
| (...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  3171     float invocation_frequency, LoopAssignmentAnalysis* loop_assignment, |  3176     float invocation_frequency, LoopAssignmentAnalysis* loop_assignment, | 
|  3172     SourcePositionTable* source_positions, int inlining_id) |  3177     SourcePositionTable* source_positions, int inlining_id) | 
|  3173     : AstGraphBuilder(local_zone, info, jsgraph, invocation_frequency, |  3178     : AstGraphBuilder(local_zone, info, jsgraph, invocation_frequency, | 
|  3174                       loop_assignment), |  3179                       loop_assignment), | 
|  3175       source_positions_(source_positions), |  3180       source_positions_(source_positions), | 
|  3176       start_position_(info->shared_info()->start_position(), inlining_id) {} |  3181       start_position_(info->shared_info()->start_position(), inlining_id) {} | 
|  3177  |  3182  | 
|  3178 }  // namespace compiler |  3183 }  // namespace compiler | 
|  3179 }  // namespace internal |  3184 }  // namespace internal | 
|  3180 }  // namespace v8 |  3185 }  // namespace v8 | 
| OLD | NEW |