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

Side by Side Diff: src/hydrogen.cc

Issue 410153002: Make --always-opt also optimize toplevel code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Jacob Bramley. Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « src/factory.cc ('k') | src/ia32/lithium-codegen-ia32.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/hydrogen.h" 5 #include "src/hydrogen.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "src/v8.h" 9 #include "src/v8.h"
10 10
(...skipping 11250 matching lines...) Expand 10 before | Expand all | Expand 10 after
11261 break; 11261 break;
11262 } 11262 }
11263 case Variable::LOOKUP: 11263 case Variable::LOOKUP:
11264 return Bailout(kUnsupportedLookupSlotInDeclaration); 11264 return Bailout(kUnsupportedLookupSlotInDeclaration);
11265 } 11265 }
11266 } 11266 }
11267 11267
11268 11268
11269 void HOptimizedGraphBuilder::VisitModuleDeclaration( 11269 void HOptimizedGraphBuilder::VisitModuleDeclaration(
11270 ModuleDeclaration* declaration) { 11270 ModuleDeclaration* declaration) {
11271 UNREACHABLE(); 11271 return Bailout(kModuleDeclaration);
11272 } 11272 }
11273 11273
11274 11274
11275 void HOptimizedGraphBuilder::VisitImportDeclaration( 11275 void HOptimizedGraphBuilder::VisitImportDeclaration(
11276 ImportDeclaration* declaration) { 11276 ImportDeclaration* declaration) {
11277 UNREACHABLE(); 11277 UNREACHABLE();
11278 } 11278 }
11279 11279
11280 11280
11281 void HOptimizedGraphBuilder::VisitExportDeclaration( 11281 void HOptimizedGraphBuilder::VisitExportDeclaration(
(...skipping 1188 matching lines...) Expand 10 before | Expand all | Expand 10 after
12470 if (ShouldProduceTraceOutput()) { 12470 if (ShouldProduceTraceOutput()) {
12471 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 12471 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
12472 } 12472 }
12473 12473
12474 #ifdef DEBUG 12474 #ifdef DEBUG
12475 graph_->Verify(false); // No full verify. 12475 graph_->Verify(false); // No full verify.
12476 #endif 12476 #endif
12477 } 12477 }
12478 12478
12479 } } // namespace v8::internal 12479 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698