Chromium Code Reviews| Index: runtime/vm/stub_code.cc |
| diff --git a/runtime/vm/stub_code.cc b/runtime/vm/stub_code.cc |
| index 05ce4325bbe4d954981945ae06561991d68e49f5..ff505fe7a81fa4f92d41b11f3e73c3ac907210f6 100644 |
| --- a/runtime/vm/stub_code.cc |
| +++ b/runtime/vm/stub_code.cc |
| @@ -105,6 +105,7 @@ RawCode* StubCode::GetAllocationStubForClass(const Class& cls) { |
| const char* name = cls.ToCString(); |
| StubCode::GenerateAllocationStubForClass(&assembler, cls); |
| stub ^= Code::FinalizeCode(name, &assembler); |
| + stub.set_owner_allocation_stub_class_id(Smi::New(cls.id())); |
|
Ivan Posva
2014/02/28 21:46:35
If we switch to owner_ being a Class object or Fun
|
| cls.set_allocation_stub(stub); |
| if (FLAG_disassemble_stubs) { |
| OS::Print("Code for allocation stub '%s': {\n", name); |