Commit 6bcca144 authored by danno@chromium.org's avatar danno@chromium.org

Fix GC Mole warning

R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/22815005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16196 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 6cd9ae7b
......@@ -3230,8 +3230,9 @@ class HConstant: public HTemplateInstruction<0> {
}
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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment