Revision: 16196
Author:   [email protected]
Date:     Wed Aug 14 10:03:19 2013
Log:      Fix GC Mole warning

[email protected]

Review URL: https://codereview.chromium.org/22815005
http://code.google.com/p/v8/source/detail?r=16196

Modified:
 /branches/bleeding_edge/src/hydrogen-instructions.h

=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.h Wed Aug 14 09:13:58 2013 +++ /branches/bleeding_edge/src/hydrogen-instructions.h Wed Aug 14 10:03:19 2013
@@ -3230,8 +3230,9 @@
   }

   bool InstanceOf(Handle<Map> map) {
-    return handle()->IsJSObject() &&
-        Handle<JSObject>::cast(handle())->map() == *map;
+    Handle<Object> constant_object = handle();
+    return constant_object->IsJSObject() &&
+        Handle<JSObject>::cast(constant_object)->map() == *map;
   }

   bool IsSpecialDouble() const {

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to