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
This commit is contained in:
parent
6cd9ae7bc1
commit
6bcca144a9
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user