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

Side by Side Diff: src/compiler.cc

Issue 1095313002: [turbofan] Fix reduction of LoadProperty/StoreProperty to LoadNamed/StoreNamed. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | src/compiler/js-generic-lowering.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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.h" 5 #include "src/compiler.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "src/ast-numbering.h" 9 #include "src/ast-numbering.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 os << "[compiling method " << Brief(*info()->closure()) 385 os << "[compiling method " << Brief(*info()->closure())
386 << " using TurboFan"; 386 << " using TurboFan";
387 if (info()->is_osr()) os << " OSR"; 387 if (info()->is_osr()) os << " OSR";
388 os << "]" << std::endl; 388 os << "]" << std::endl;
389 } 389 }
390 390
391 if (info()->shared_info()->asm_function()) { 391 if (info()->shared_info()->asm_function()) {
392 info()->MarkAsContextSpecializing(); 392 info()->MarkAsContextSpecializing();
393 } else if (FLAG_turbo_type_feedback) { 393 } else if (FLAG_turbo_type_feedback) {
394 info()->MarkAsTypeFeedbackEnabled(); 394 info()->MarkAsTypeFeedbackEnabled();
395 info()->EnsureFeedbackVector();
395 } 396 }
396 397
397 Timer t(this, &time_taken_to_create_graph_); 398 Timer t(this, &time_taken_to_create_graph_);
398 compiler::Pipeline pipeline(info()); 399 compiler::Pipeline pipeline(info());
399 pipeline.GenerateCode(); 400 pipeline.GenerateCode();
400 if (!info()->code().is_null()) { 401 if (!info()->code().is_null()) {
401 return SetLastStatus(SUCCEEDED); 402 return SetLastStatus(SUCCEEDED);
402 } 403 }
403 } 404 }
404 405
(...skipping 1134 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 } 1540 }
1540 1541
1541 1542
1542 #if DEBUG 1543 #if DEBUG
1543 void CompilationInfo::PrintAstForTesting() { 1544 void CompilationInfo::PrintAstForTesting() {
1544 PrintF("--- Source from AST ---\n%s\n", 1545 PrintF("--- Source from AST ---\n%s\n",
1545 PrettyPrinter(isolate(), zone()).PrintProgram(function())); 1546 PrettyPrinter(isolate(), zone()).PrintProgram(function()));
1546 } 1547 }
1547 #endif 1548 #endif
1548 } } // namespace v8::internal 1549 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/compiler/js-generic-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698