Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index 508912eff9988a8a2ac1a1e65cd6fb58372eda4d..a1676f7590d07ba4bad7ee794cdff0720e4135d9 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -2291,6 +2291,10 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor { |
Context* context = current_info()->closure()->context(); |
context = context->native_context(); |
return handle(context->number_function()->initial_map()); |
+ } else if (type_->Is(HeapType::Boolean())) { |
+ Context* context = current_info()->closure()->context(); |
+ context = context->native_context(); |
+ return handle(context->boolean_function()->initial_map()); |
} else if (type_->Is(HeapType::String())) { |
Context* context = current_info()->closure()->context(); |
context = context->native_context(); |