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

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

Issue 2089673002: Reland: [Crankshaft] Always check for stubs marked to not require an eager frame. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reland 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/code-stubs-hydrogen.cc ('k') | no next file » | 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/crankshaft/lithium.h" 5 #include "src/crankshaft/lithium.h"
6 6
7 #include "src/ast/scopes.h" 7 #include "src/ast/scopes.h"
8 8
9 #if V8_TARGET_ARCH_IA32 9 #if V8_TARGET_ARCH_IA32
10 #include "src/crankshaft/ia32/lithium-ia32.h" // NOLINT 10 #include "src/crankshaft/ia32/lithium-ia32.h" // NOLINT
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 generator.FinishCode(code); 462 generator.FinishCode(code);
463 CommitDependencies(code); 463 CommitDependencies(code);
464 code->set_is_crankshafted(true); 464 code->set_is_crankshafted(true);
465 void* jit_handler_data = 465 void* jit_handler_data =
466 assembler.positions_recorder()->DetachJITHandlerData(); 466 assembler.positions_recorder()->DetachJITHandlerData();
467 LOG_CODE_EVENT(info()->isolate(), 467 LOG_CODE_EVENT(info()->isolate(),
468 CodeEndLinePosInfoRecordEvent(AbstractCode::cast(*code), 468 CodeEndLinePosInfoRecordEvent(AbstractCode::cast(*code),
469 jit_handler_data)); 469 jit_handler_data));
470 470
471 CodeGenerator::PrintCode(code, info()); 471 CodeGenerator::PrintCode(code, info());
472 DCHECK(!(info()->isolate()->serializer_enabled() && 472 DCHECK(!(info()->GetMustNotHaveEagerFrame() &&
473 info()->GetMustNotHaveEagerFrame() &&
474 generator.NeedsEagerFrame())); 473 generator.NeedsEagerFrame()));
475 return code; 474 return code;
476 } 475 }
477 assembler.AbortedCodeGeneration(); 476 assembler.AbortedCodeGeneration();
478 return Handle<Code>::null(); 477 return Handle<Code>::null();
479 } 478 }
480 479
481 480
482 void LChunk::set_allocated_double_registers(BitVector* allocated_registers) { 481 void LChunk::set_allocated_double_registers(BitVector* allocated_registers) {
483 allocated_double_registers_ = allocated_registers; 482 allocated_double_registers_ = allocated_registers;
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 723
725 LPhase::~LPhase() { 724 LPhase::~LPhase() {
726 if (ShouldProduceTraceOutput()) { 725 if (ShouldProduceTraceOutput()) {
727 isolate()->GetHTracer()->TraceLithium(name(), chunk_); 726 isolate()->GetHTracer()->TraceLithium(name(), chunk_);
728 } 727 }
729 } 728 }
730 729
731 730
732 } // namespace internal 731 } // namespace internal
733 } // namespace v8 732 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698