| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1279 ToBooleanStub::UNDEFINED | | 1279 ToBooleanStub::UNDEFINED | |
| 1280 ToBooleanStub::NULL_TYPE | | 1280 ToBooleanStub::NULL_TYPE | |
| 1281 ToBooleanStub::SPEC_OBJECT | | 1281 ToBooleanStub::SPEC_OBJECT | |
| 1282 ToBooleanStub::STRING | | 1282 ToBooleanStub::STRING | |
| 1283 ToBooleanStub::SYMBOL); | 1283 ToBooleanStub::SYMBOL); |
| 1284 if (expected_input_types_.ContainsAnyOf(tagged_types)) { | 1284 if (expected_input_types_.ContainsAnyOf(tagged_types)) { |
| 1285 return Representation::Tagged(); | 1285 return Representation::Tagged(); |
| 1286 } else if (expected_input_types_.Contains(ToBooleanStub::HEAP_NUMBER)) { | 1286 } else if (expected_input_types_.Contains(ToBooleanStub::HEAP_NUMBER)) { |
| 1287 return Representation::Double(); | 1287 return Representation::Double(); |
| 1288 } else if (expected_input_types_.Contains(ToBooleanStub::SMI)) { | 1288 } else if (expected_input_types_.Contains(ToBooleanStub::SMI)) { |
| 1289 return Representation::Integer32(); | 1289 return Representation::Smi(); |
| 1290 } else { | 1290 } else { |
| 1291 return Representation::None(); | 1291 return Representation::None(); |
| 1292 } | 1292 } |
| 1293 } | 1293 } |
| 1294 | 1294 |
| 1295 | 1295 |
| 1296 void HCompareMap::PrintDataTo(StringStream* stream) { | 1296 void HCompareMap::PrintDataTo(StringStream* stream) { |
| 1297 value()->PrintNameTo(stream); | 1297 value()->PrintNameTo(stream); |
| 1298 stream->Add(" (%p)", *map()); | 1298 stream->Add(" (%p)", *map()); |
| 1299 HControlInstruction::PrintDataTo(stream); | 1299 HControlInstruction::PrintDataTo(stream); |
| (...skipping 2550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3850 case kBackingStore: | 3850 case kBackingStore: |
| 3851 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); | 3851 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); |
| 3852 stream->Add("[backing-store]"); | 3852 stream->Add("[backing-store]"); |
| 3853 break; | 3853 break; |
| 3854 } | 3854 } |
| 3855 | 3855 |
| 3856 stream->Add("@%d", offset()); | 3856 stream->Add("@%d", offset()); |
| 3857 } | 3857 } |
| 3858 | 3858 |
| 3859 } } // namespace v8::internal | 3859 } } // namespace v8::internal |
| OLD | NEW |