Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 2b96dbf19ea7d66ffcabf5fc5a7f2f445c2d5157..882d74359ed7d2cbf96ba0b38adfc88183827d5e 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -572,6 +572,14 @@ void CallConstructStub::PrintName(StringStream* stream) { |
} |
+bool ToBooleanStub::Record(Handle<Object> object) { |
+ Types old_types(types_); |
+ bool to_boolean_value = types_.Record(object); |
+ old_types.TraceTransition(types_); |
+ return to_boolean_value; |
+} |
+ |
+ |
void ToBooleanStub::PrintName(StringStream* stream) { |
stream->Add("ToBooleanStub_"); |
types_.Print(stream); |