Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index c00719969147a033e801f33d3bb691d0d959b80c..2441f7340b586de59317f961f3e786fee5168ac3 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -924,7 +924,7 @@ bool ToBooleanStub::UpdateStatus(Handle<Object> object) { |
Types old_types = new_types; |
bool to_boolean_value = new_types.UpdateStatus(object); |
TraceTransition(old_types, new_types); |
- set_sub_minor_key(TypesBits::update(sub_minor_key(), new_types.ToByte())); |
+ set_sub_minor_key(TypesBits::update(sub_minor_key(), new_types.ToIntegral())); |
return to_boolean_value; |
} |