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

Unified Diff: runtime/lib/identical.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/identical.cc
diff --git a/runtime/lib/identical.cc b/runtime/lib/identical.cc
index 4dc8bac1368613234197b85d2306acc2a72e738c..7508f03ac85b89431dcdab9ae78ea8384becb4b5 100644
--- a/runtime/lib/identical.cc
+++ b/runtime/lib/identical.cc
@@ -13,7 +13,7 @@ DEFINE_NATIVE_ENTRY(Identical_comparison, 2) {
GET_NATIVE_ARGUMENT(Instance, b, arguments->NativeArgAt(1));
if (a.raw() == b.raw()) return Bool::True().raw();
if (a.IsInteger() && b.IsInteger()) {
- return Bool::Get(a.Equals(b));
+ return Bool::Get(a.Equals(b)).raw();
}
if (a.IsDouble() && b.IsDouble()) {
if (a.Equals(b)) return Bool::True().raw();
« no previous file with comments | « runtime/lib/double.cc ('k') | runtime/lib/integers.cc » ('j') | runtime/vm/object.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698