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

Unified Diff: vm/stub_code.cc

Issue 10409038: Remove the special stub code region as we don't need it anymore. With the new frame layout conventi… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « vm/object.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/stub_code.cc
===================================================================
--- vm/stub_code.cc (revision 7768)
+++ vm/stub_code.cc (working copy)
@@ -107,7 +107,7 @@
Assembler assembler;
const char* name = cls.ToCString();
StubCode::GenerateAllocationStubForClass(&assembler, cls);
- stub ^= Code::FinalizeStubCode(name, &assembler);
+ stub ^= Code::FinalizeCode(name, &assembler);
cls.set_allocation_stub(stub);
if (FLAG_disassemble_stubs) {
OS::Print("Code for allocation stub '%s': {\n", name);
@@ -126,7 +126,7 @@
Assembler assembler;
const char* name = func.ToCString();
StubCode::GenerateAllocationStubForClosure(&assembler, func);
- stub ^= Code::FinalizeStubCode(name, &assembler);
+ stub ^= Code::FinalizeCode(name, &assembler);
func.set_closure_allocation_stub(stub);
if (FLAG_disassemble_stubs) {
OS::Print("Code for closure allocation stub '%s': {\n", name);
@@ -143,7 +143,7 @@
void (*GenerateStub)(Assembler* assembler)) {
Assembler assembler;
GenerateStub(&assembler);
- const Code& code = Code::Handle(Code::FinalizeStubCode(name, &assembler));
+ const Code& code = Code::Handle(Code::FinalizeCode(name, &assembler));
if (FLAG_disassemble_stubs) {
OS::Print("Code for stub '%s': {\n", name);
Disassembler::Disassemble(code.EntryPoint(),
« no previous file with comments | « vm/object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698