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

Unified Diff: vm/deopt_instructions.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/debugger_api_impl.cc ('k') | vm/exceptions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/deopt_instructions.cc
===================================================================
--- vm/deopt_instructions.cc (revision 17436)
+++ vm/deopt_instructions.cc (working copy)
@@ -202,7 +202,7 @@
void Execute(DeoptimizationContext* deopt_context, intptr_t to_index) {
Function& function = Function::Handle(deopt_context->isolate());
- function |= deopt_context->ObjectAt(object_table_index_);
+ function ^= deopt_context->ObjectAt(object_table_index_);
const Code& code =
Code::Handle(deopt_context->isolate(), function.unoptimized_code());
uword continue_at_pc = code.GetDeoptAfterPcAtDeoptId(deopt_id_);
@@ -261,7 +261,7 @@
void Execute(DeoptimizationContext* deopt_context, intptr_t to_index) {
Function& function = Function::Handle(deopt_context->isolate());
- function |= deopt_context->ObjectAt(object_table_index_);
+ function ^= deopt_context->ObjectAt(object_table_index_);
const Code& code =
Code::Handle(deopt_context->isolate(), function.unoptimized_code());
uword continue_at_pc = code.GetDeoptBeforePcAtDeoptId(deopt_id_);
@@ -439,7 +439,7 @@
void Execute(DeoptimizationContext* deopt_context, intptr_t to_index) {
Function& function = Function::Handle(deopt_context->isolate());
- function |= deopt_context->ObjectAt(object_table_index_);
+ function ^= deopt_context->ObjectAt(object_table_index_);
const Code& code =
Code::Handle(deopt_context->isolate(), function.unoptimized_code());
ASSERT(!code.IsNull());
@@ -585,7 +585,7 @@
DeoptRetAfterAddressInstr::GetEncodedValues(from_index,
&object_table_index,
&deopt_id);
- *func |= object_table.At(object_table_index);
+ *func ^= object_table.At(object_table_index);
const Code& code = Code::Handle(func->unoptimized_code());
return code.GetDeoptAfterPcAtDeoptId(deopt_id);
}
@@ -823,9 +823,9 @@
DeoptInfo* info,
Smi* reason) {
intptr_t i = index * kEntrySize;
- *offset |= table.At(i);
- *info |= table.At(i + 1);
- *reason |= table.At(i + 2);
+ *offset ^= table.At(i);
+ *info ^= table.At(i + 1);
+ *reason ^= table.At(i + 2);
}
} // namespace dart
« no previous file with comments | « vm/debugger_api_impl.cc ('k') | vm/exceptions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698