| Index: src/ic.cc
|
| diff --git a/src/ic.cc b/src/ic.cc
|
| index 8e2d589c1e1f4f399f06fb0e942b4c8b9ad6704e..679d28d04a328a1487e65231b3aa174c3fe9310a 100644
|
| --- a/src/ic.cc
|
| +++ b/src/ic.cc
|
| @@ -692,7 +692,7 @@ Handle<HeapType> IC::CurrentTypeOf(Handle<Object> object, Isolate* isolate) {
|
| Handle<Map> IC::TypeToMap(HeapType* type, Isolate* isolate) {
|
| if (type->Is(HeapType::Number()))
|
| return isolate->factory()->heap_number_map();
|
| - if (type->Is(HeapType::Boolean())) return isolate->factory()->oddball_map();
|
| + if (type->Is(HeapType::Boolean())) return isolate->factory()->boolean_map();
|
| if (type->IsConstant()) {
|
| return handle(Handle<JSGlobalObject>::cast(type->AsConstant())->map());
|
| }
|
|
|