Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index be56c673b9ea8003bbac6fb15d28e5e5ae23156c..b391a5758c49dfebdb3f1ef0f30bbe5b948674a5 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5844,7 +5844,9 @@ void HGraphBuilder::GenerateIsFunction(CallRuntime* call) { |
CHECK_ALIVE(VisitForValue(call->arguments()->at(0))); |
HValue* value = Pop(); |
HHasInstanceTypeAndBranch* result = |
- new(zone()) HHasInstanceTypeAndBranch(value, JS_FUNCTION_TYPE); |
+ new(zone()) HHasInstanceTypeAndBranch(value, |
+ JS_FUNCTION_TYPE, |
+ JS_FUNCTION_PROXY_TYPE); |
return ast_context()->ReturnControl(result, call->id()); |
} |