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

Unified Diff: vm/stub_code.cc

Issue 12052033: Added macros OBJECT_IMPLEMENTATION and FINAL_OBJECT_IMPLEMENTATION (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 7 years, 11 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/snapshot.cc ('k') | vm/stub_code_ia32_test.cc » ('j') | 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 17436)
+++ vm/stub_code.cc (working copy)
@@ -45,7 +45,7 @@
#define STUB_CODE_GENERATE(name) \
- code |= Generate("_stub_"#name, StubCode::Generate##name##Stub); \
+ code ^= Generate("_stub_"#name, StubCode::Generate##name##Stub); \
name##_entry_ = new StubEntry("_stub_"#name, code);
@@ -107,7 +107,7 @@
Assembler assembler;
const char* name = cls.ToCString();
StubCode::GenerateAllocationStubForClass(&assembler, cls);
- stub |= Code::FinalizeCode(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::FinalizeCode(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);
« no previous file with comments | « vm/snapshot.cc ('k') | vm/stub_code_ia32_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698