Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 4bb895fcd0fc042f5ae9ca2f9193eb8101a1e4a4..1230efb83ba2101f9a35a2ecf575b2977f339351 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5286,7 +5286,11 @@ void HGraphBuilder::GenerateIsNonNegativeSmi(CallRuntime* call) { |
void HGraphBuilder::GenerateIsUndetectableObject(CallRuntime* call) { |
- return Bailout("inlined runtime function: IsUndetectableObject"); |
+ ASSERT(call->arguments()->length() == 1); |
+ CHECK_ALIVE(VisitForValue(call->arguments()->at(0))); |
+ HValue* value = Pop(); |
+ ast_context()->ReturnInstruction(new(zone()) HIsUndetectable(value), |
+ call->id()); |
} |