Chromium Code Reviews| Index: src/stub-cache.cc | 
| diff --git a/src/stub-cache.cc b/src/stub-cache.cc | 
| index a562ace477a66ae99fc8d5cd638ebbad8817791e..6e68314be7ebd9299ceda913e2d95737e3641c40 100644 | 
| --- a/src/stub-cache.cc | 
| +++ b/src/stub-cache.cc | 
| @@ -1100,6 +1100,9 @@ Handle<Code> StubCompiler::GetCodeWithFlags(Code::Flags flags, | 
| CodeDesc desc; | 
| masm_.GetCode(&desc); | 
| Handle<Code> code = factory()->NewCode(desc, flags, masm_.CodeObject()); | 
| + if (code->has_major_key()) { | 
| 
 
Hannes Payer (out of office)
2013/12/13 10:03:26
I think it would make sense to set the major key i
 
Jakob Kummerow
2013/12/13 10:14:25
I disagree. CreateCode() sets it to UninitializedM
 
 | 
| + code->set_major_key(CodeStub::NoCache); | 
| + } | 
| #ifdef ENABLE_DISASSEMBLER | 
| if (FLAG_print_code_stubs) code->Disassemble(name); | 
| #endif |