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

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

Issue 2068693003: [stubs] Ensure that StoreTransitionStub does not bailout after the properties backing store is enla… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/code-stubs-hydrogen.cc ('k') | src/deoptimizer.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 13348 matching lines...) Expand 10 before | Expand all | Expand 10 after
13359 } 13359 }
13360 os << "\n"; 13360 os << "\n";
13361 } 13361 }
13362 return os << "\n"; 13362 return os << "\n";
13363 } 13363 }
13364 13364
13365 13365
13366 void HTracer::TraceCompilation(CompilationInfo* info) { 13366 void HTracer::TraceCompilation(CompilationInfo* info) {
13367 Tag tag(this, "compilation"); 13367 Tag tag(this, "compilation");
13368 std::string name; 13368 std::string name;
13369 Object* source_name = info->script()->name(); 13369 if (info->parse_info()) {
13370 if (source_name->IsString()) { 13370 Object* source_name = info->script()->name();
13371 String* str = String::cast(source_name); 13371 if (source_name->IsString()) {
13372 if (str->length() > 0) { 13372 String* str = String::cast(source_name);
13373 name.append(str->ToCString().get()); 13373 if (str->length() > 0) {
13374 name.append(":"); 13374 name.append(str->ToCString().get());
13375 name.append(":");
13376 }
13375 } 13377 }
13376 } 13378 }
13377 base::SmartArrayPointer<char> method_name = info->GetDebugName(); 13379 base::SmartArrayPointer<char> method_name = info->GetDebugName();
13378 name.append(method_name.get()); 13380 name.append(method_name.get());
13379 if (info->IsOptimizing()) { 13381 if (info->IsOptimizing()) {
13380 PrintStringProperty("name", name.c_str()); 13382 PrintStringProperty("name", name.c_str());
13381 PrintIndent(); 13383 PrintIndent();
13382 trace_.Add("method \"%s:%d\"\n", method_name.get(), 13384 trace_.Add("method \"%s:%d\"\n", method_name.get(),
13383 info->optimization_id()); 13385 info->optimization_id());
13384 } else { 13386 } else {
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
13700 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 13702 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
13701 } 13703 }
13702 13704
13703 #ifdef DEBUG 13705 #ifdef DEBUG
13704 graph_->Verify(false); // No full verify. 13706 graph_->Verify(false); // No full verify.
13705 #endif 13707 #endif
13706 } 13708 }
13707 13709
13708 } // namespace internal 13710 } // namespace internal
13709 } // namespace v8 13711 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698