Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: src/crankshaft/hydrogen.cc

Issue 2108193003: [modules] AST and parser rework. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@anonymous-declarations
Patch Set: Rebase. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/contexts.cc ('k') | src/crankshaft/typing.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/hydrogen.h" 5 #include "src/crankshaft/hydrogen.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/allocation-site-scopes.h" 9 #include "src/allocation-site-scopes.h"
10 #include "src/ast/ast-numbering.h" 10 #include "src/ast/ast-numbering.h"
(...skipping 12217 matching lines...) Expand 10 before | Expand all | Expand 10 after
12228 Add<HSimulate>(proxy->id(), REMOVABLE_SIMULATE); 12228 Add<HSimulate>(proxy->id(), REMOVABLE_SIMULATE);
12229 } 12229 }
12230 break; 12230 break;
12231 } 12231 }
12232 case VariableLocation::LOOKUP: 12232 case VariableLocation::LOOKUP:
12233 return Bailout(kUnsupportedLookupSlotInDeclaration); 12233 return Bailout(kUnsupportedLookupSlotInDeclaration);
12234 } 12234 }
12235 } 12235 }
12236 12236
12237 12237
12238 void HOptimizedGraphBuilder::VisitImportDeclaration(
12239 ImportDeclaration* declaration) {
12240 UNREACHABLE();
12241 }
12242
12243
12244 void HOptimizedGraphBuilder::VisitRewritableExpression( 12238 void HOptimizedGraphBuilder::VisitRewritableExpression(
12245 RewritableExpression* node) { 12239 RewritableExpression* node) {
12246 CHECK_ALIVE(Visit(node->expression())); 12240 CHECK_ALIVE(Visit(node->expression()));
12247 } 12241 }
12248 12242
12249 12243
12250 // Generators for inline runtime functions. 12244 // Generators for inline runtime functions.
12251 // Support for types. 12245 // Support for types.
12252 void HOptimizedGraphBuilder::GenerateIsSmi(CallRuntime* call) { 12246 void HOptimizedGraphBuilder::GenerateIsSmi(CallRuntime* call) {
12253 DCHECK(call->arguments()->length() == 1); 12247 DCHECK(call->arguments()->length() == 1);
(...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after
13421 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 13415 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
13422 } 13416 }
13423 13417
13424 #ifdef DEBUG 13418 #ifdef DEBUG
13425 graph_->Verify(false); // No full verify. 13419 graph_->Verify(false); // No full verify.
13426 #endif 13420 #endif
13427 } 13421 }
13428 13422
13429 } // namespace internal 13423 } // namespace internal
13430 } // namespace v8 13424 } // namespace v8
OLDNEW
« no previous file with comments | « src/contexts.cc ('k') | src/crankshaft/typing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698