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

Side by Side Diff: src/lithium.cc

Issue 272513004: Reland r20974: Unify and simplify the FastCloneShallowArrayStub (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixes Created 6 years, 7 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
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 "v8.h" 5 #include "v8.h"
6 #include "lithium.h" 6 #include "lithium.h"
7 #include "scopes.h" 7 #include "scopes.h"
8 8
9 #if V8_TARGET_ARCH_IA32 9 #if V8_TARGET_ARCH_IA32
10 #include "ia32/lithium-ia32.h" 10 #include "ia32/lithium-ia32.h"
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 CodeGenerator::MakeCodeEpilogue(&assembler, flags, info()); 442 CodeGenerator::MakeCodeEpilogue(&assembler, flags, info());
443 generator.FinishCode(code); 443 generator.FinishCode(code);
444 CommitDependencies(code); 444 CommitDependencies(code);
445 code->set_is_crankshafted(true); 445 code->set_is_crankshafted(true);
446 void* jit_handler_data = 446 void* jit_handler_data =
447 assembler.positions_recorder()->DetachJITHandlerData(); 447 assembler.positions_recorder()->DetachJITHandlerData();
448 LOG_CODE_EVENT(info()->isolate(), 448 LOG_CODE_EVENT(info()->isolate(),
449 CodeEndLinePosInfoRecordEvent(*code, jit_handler_data)); 449 CodeEndLinePosInfoRecordEvent(*code, jit_handler_data));
450 450
451 CodeGenerator::PrintCode(code, info()); 451 CodeGenerator::PrintCode(code, info());
452 ASSERT(!(info()->GetMustNotHaveEagerFrame() &&
453 generator.NeedsEagerFrame()));
mvstanton 2014/05/09 13:16:49 +1.
452 return code; 454 return code;
453 } 455 }
454 assembler.AbortedCodeGeneration(); 456 assembler.AbortedCodeGeneration();
455 return Handle<Code>::null(); 457 return Handle<Code>::null();
456 } 458 }
457 459
458 460
459 void LChunk::set_allocated_double_registers(BitVector* allocated_registers) { 461 void LChunk::set_allocated_double_registers(BitVector* allocated_registers) {
460 allocated_double_registers_ = allocated_registers; 462 allocated_double_registers_ = allocated_registers;
461 BitVector* doubles = allocated_double_registers(); 463 BitVector* doubles = allocated_double_registers();
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 616
615 617
616 LPhase::~LPhase() { 618 LPhase::~LPhase() {
617 if (ShouldProduceTraceOutput()) { 619 if (ShouldProduceTraceOutput()) {
618 isolate()->GetHTracer()->TraceLithium(name(), chunk_); 620 isolate()->GetHTracer()->TraceLithium(name(), chunk_);
619 } 621 }
620 } 622 }
621 623
622 624
623 } } // namespace v8::internal 625 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698