Index: lib/identical.cc |
=================================================================== |
--- lib/identical.cc (revision 16591) |
+++ lib/identical.cc (working copy) |
@@ -11,20 +11,20 @@ |
DEFINE_NATIVE_ENTRY(Identical_comparison, 2) { |
GET_NATIVE_ARGUMENT(Instance, a, arguments->NativeArgAt(0)); |
GET_NATIVE_ARGUMENT(Instance, b, arguments->NativeArgAt(1)); |
- if (a.raw() == b.raw()) return Bool::True(); |
+ if (a.raw() == b.raw()) return Bool::True().raw(); |
if (a.IsInteger() && b.IsInteger()) { |
return Bool::Get(a.Equals(b)); |
} |
if (a.IsDouble() && b.IsDouble()) { |
- if (a.Equals(b)) return Bool::True(); |
+ if (a.Equals(b)) return Bool::True().raw(); |
// Check for NaN. |
const Double& a_double = Double::Cast(a); |
const Double& b_double = Double::Cast(b); |
if (isnan(a_double.value()) && isnan(b_double.value())) { |
- return Bool::True(); |
+ return Bool::True().raw(); |
} |
} |
- return Bool::False(); |
+ return Bool::False().raw(); |
} |