Index: src/lithium.cc |
diff --git a/src/lithium.cc b/src/lithium.cc |
index 09c0f4405f5472b550ebb963f82603d1fb3c51f2..b4a57f520bc8fa464f3d61ecb8262254b71563ee 100644 |
--- a/src/lithium.cc |
+++ b/src/lithium.cc |
@@ -442,7 +442,7 @@ LChunk* LChunk::NewChunk(HGraph* graph) { |
} |
-Handle<Code> LChunk::Codegen(Code::Kind kind) { |
+Handle<Code> LChunk::Codegen() { |
MacroAssembler assembler(info()->isolate(), NULL, 0); |
LOG_CODE_EVENT(info()->isolate(), |
CodeStartLinePosInfoRecordEvent( |
@@ -456,11 +456,11 @@ Handle<Code> LChunk::Codegen(Code::Kind kind) { |
PrintF("Crankshaft Compiler - "); |
} |
CodeGenerator::MakeCodePrologue(info()); |
- Code::Flags flags = Code::ComputeFlags(kind); |
+ Code::Flags flags = info()->flags(); |
Handle<Code> code = |
CodeGenerator::MakeCodeEpilogue(&assembler, flags, info()); |
generator.FinishCode(code); |
- |
+ code->set_is_crankshafted(true); |
if (!code.is_null()) { |
void* jit_handler_data = |
assembler.positions_recorder()->DetachJITHandlerData(); |