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

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

Issue 2087963004: Revert of [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: 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') | 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()->GetMustNotHaveEagerFrame() && 472 DCHECK(!(info()->isolate()->serializer_enabled() &&
473 info()->GetMustNotHaveEagerFrame() &&
473 generator.NeedsEagerFrame())); 474 generator.NeedsEagerFrame()));
474 return code; 475 return code;
475 } 476 }
476 assembler.AbortedCodeGeneration(); 477 assembler.AbortedCodeGeneration();
477 return Handle<Code>::null(); 478 return Handle<Code>::null();
478 } 479 }
479 480
480 481
481 void LChunk::set_allocated_double_registers(BitVector* allocated_registers) { 482 void LChunk::set_allocated_double_registers(BitVector* allocated_registers) {
482 allocated_double_registers_ = allocated_registers; 483 allocated_double_registers_ = allocated_registers;
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 724
724 LPhase::~LPhase() { 725 LPhase::~LPhase() {
725 if (ShouldProduceTraceOutput()) { 726 if (ShouldProduceTraceOutput()) {
726 isolate()->GetHTracer()->TraceLithium(name(), chunk_); 727 isolate()->GetHTracer()->TraceLithium(name(), chunk_);
727 } 728 }
728 } 729 }
729 730
730 731
731 } // namespace internal 732 } // namespace internal
732 } // namespace v8 733 } // 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