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

Unified Diff: runtime/lib/object.cc

Issue 23480005: Change Bool::Get to return a handle instead of a pointer to a raw object. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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
Index: runtime/lib/object.cc
diff --git a/runtime/lib/object.cc b/runtime/lib/object.cc
index 086198a7186156c19235c82ab5f9be29fcfaf00e..de01c97faddf19fdbf41dfe9e54ab28d3c345ec0 100644
--- a/runtime/lib/object.cc
+++ b/runtime/lib/object.cc
@@ -139,7 +139,7 @@ DEFINE_NATIVE_ENTRY(Object_instanceOf, 5) {
Symbols::Empty(), malformed_error_message);
UNREACHABLE();
}
- return Bool::Get(negate.value() ? !is_instance_of : is_instance_of);
+ return Bool::Get(negate.value() ? !is_instance_of : is_instance_of).raw();
}
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | runtime/lib/regexp.cc » ('j') | runtime/vm/object.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698