| Index: src/stub-cache.cc
|
| diff --git a/src/stub-cache.cc b/src/stub-cache.cc
|
| index f83da2c5db2700096d4ee5f31b626797b1382d73..6bf209bc0aa2089b57452067ab5ebf10fc267771 100644
|
| --- a/src/stub-cache.cc
|
| +++ b/src/stub-cache.cc
|
| @@ -784,9 +784,6 @@ Register LoadStubCompiler::HandlerFrontendHeader(
|
| } else if (type->Is(HeapType::Number())) {
|
| function_index = Context::NUMBER_FUNCTION_INDEX;
|
| } else if (type->Is(HeapType::Boolean())) {
|
| - // Booleans use the generic oddball map, so an additional check is needed to
|
| - // ensure the receiver is really a boolean.
|
| - GenerateBooleanCheck(object_reg, miss);
|
| function_index = Context::BOOLEAN_FUNCTION_INDEX;
|
| } else {
|
| check_type = SKIP_RECEIVER;
|
|
|