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

Side by Side Diff: src/lithium.cc

Issue 296853007: Make serializer non-static. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
« no previous file with comments | « src/isolate.cc ('k') | src/mksnapshot.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 "v8.h" 5 #include "v8.h"
6 #include "lithium.h" 6 #include "lithium.h"
7 #include "scopes.h" 7 #include "scopes.h"
8 #include "serialize.h" 8 #include "serialize.h"
9 9
10 #if V8_TARGET_ARCH_IA32 10 #if V8_TARGET_ARCH_IA32
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 CodeGenerator::MakeCodeEpilogue(&assembler, flags, info()); 443 CodeGenerator::MakeCodeEpilogue(&assembler, flags, info());
444 generator.FinishCode(code); 444 generator.FinishCode(code);
445 CommitDependencies(code); 445 CommitDependencies(code);
446 code->set_is_crankshafted(true); 446 code->set_is_crankshafted(true);
447 void* jit_handler_data = 447 void* jit_handler_data =
448 assembler.positions_recorder()->DetachJITHandlerData(); 448 assembler.positions_recorder()->DetachJITHandlerData();
449 LOG_CODE_EVENT(info()->isolate(), 449 LOG_CODE_EVENT(info()->isolate(),
450 CodeEndLinePosInfoRecordEvent(*code, jit_handler_data)); 450 CodeEndLinePosInfoRecordEvent(*code, jit_handler_data));
451 451
452 CodeGenerator::PrintCode(code, info()); 452 CodeGenerator::PrintCode(code, info());
453 ASSERT(!(Serializer::enabled(info()->isolate()) && 453 ASSERT(!(info()->isolate()->serializer_enabled() &&
454 info()->GetMustNotHaveEagerFrame() && 454 info()->GetMustNotHaveEagerFrame() &&
455 generator.NeedsEagerFrame())); 455 generator.NeedsEagerFrame()));
456 return code; 456 return code;
457 } 457 }
458 assembler.AbortedCodeGeneration(); 458 assembler.AbortedCodeGeneration();
459 return Handle<Code>::null(); 459 return Handle<Code>::null();
460 } 460 }
461 461
462 462
463 void LChunk::set_allocated_double_registers(BitVector* allocated_registers) { 463 void LChunk::set_allocated_double_registers(BitVector* allocated_registers) {
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 618
619 619
620 LPhase::~LPhase() { 620 LPhase::~LPhase() {
621 if (ShouldProduceTraceOutput()) { 621 if (ShouldProduceTraceOutput()) {
622 isolate()->GetHTracer()->TraceLithium(name(), chunk_); 622 isolate()->GetHTracer()->TraceLithium(name(), chunk_);
623 } 623 }
624 } 624 }
625 625
626 626
627 } } // namespace v8::internal 627 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/mksnapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698