OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1382 break; | 1382 break; |
1383 case JSObject::EXTERNAL_DOUBLE_ELEMENTS: | 1383 case JSObject::EXTERNAL_DOUBLE_ELEMENTS: |
1384 stream->Add("double"); | 1384 stream->Add("double"); |
1385 break; | 1385 break; |
1386 case JSObject::EXTERNAL_PIXEL_ELEMENTS: | 1386 case JSObject::EXTERNAL_PIXEL_ELEMENTS: |
1387 stream->Add("pixel"); | 1387 stream->Add("pixel"); |
1388 break; | 1388 break; |
1389 case JSObject::FAST_ELEMENTS: | 1389 case JSObject::FAST_ELEMENTS: |
1390 case JSObject::FAST_DOUBLE_ELEMENTS: | 1390 case JSObject::FAST_DOUBLE_ELEMENTS: |
1391 case JSObject::DICTIONARY_ELEMENTS: | 1391 case JSObject::DICTIONARY_ELEMENTS: |
1392 case JSObject::NON_STRICT_ARGUMENTS_ELEMENTS: | |
1393 UNREACHABLE(); | 1392 UNREACHABLE(); |
1394 break; | 1393 break; |
1395 } | 1394 } |
1396 stream->Add("["); | 1395 stream->Add("["); |
1397 key()->PrintNameTo(stream); | 1396 key()->PrintNameTo(stream); |
1398 stream->Add("]"); | 1397 stream->Add("]"); |
1399 } | 1398 } |
1400 | 1399 |
1401 | 1400 |
1402 void HStoreNamedGeneric::PrintDataTo(StringStream* stream) { | 1401 void HStoreNamedGeneric::PrintDataTo(StringStream* stream) { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1468 break; | 1467 break; |
1469 case JSObject::EXTERNAL_DOUBLE_ELEMENTS: | 1468 case JSObject::EXTERNAL_DOUBLE_ELEMENTS: |
1470 stream->Add("double"); | 1469 stream->Add("double"); |
1471 break; | 1470 break; |
1472 case JSObject::EXTERNAL_PIXEL_ELEMENTS: | 1471 case JSObject::EXTERNAL_PIXEL_ELEMENTS: |
1473 stream->Add("pixel"); | 1472 stream->Add("pixel"); |
1474 break; | 1473 break; |
1475 case JSObject::FAST_ELEMENTS: | 1474 case JSObject::FAST_ELEMENTS: |
1476 case JSObject::FAST_DOUBLE_ELEMENTS: | 1475 case JSObject::FAST_DOUBLE_ELEMENTS: |
1477 case JSObject::DICTIONARY_ELEMENTS: | 1476 case JSObject::DICTIONARY_ELEMENTS: |
1478 case JSObject::NON_STRICT_ARGUMENTS_ELEMENTS: | |
1479 UNREACHABLE(); | 1477 UNREACHABLE(); |
1480 break; | 1478 break; |
1481 } | 1479 } |
1482 stream->Add("["); | 1480 stream->Add("["); |
1483 key()->PrintNameTo(stream); | 1481 key()->PrintNameTo(stream); |
1484 stream->Add("] = "); | 1482 stream->Add("] = "); |
1485 value()->PrintNameTo(stream); | 1483 value()->PrintNameTo(stream); |
1486 } | 1484 } |
1487 | 1485 |
1488 | 1486 |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1802 | 1800 |
1803 | 1801 |
1804 void HCheckPrototypeMaps::Verify() { | 1802 void HCheckPrototypeMaps::Verify() { |
1805 HInstruction::Verify(); | 1803 HInstruction::Verify(); |
1806 ASSERT(HasNoUses()); | 1804 ASSERT(HasNoUses()); |
1807 } | 1805 } |
1808 | 1806 |
1809 #endif | 1807 #endif |
1810 | 1808 |
1811 } } // namespace v8::internal | 1809 } } // namespace v8::internal |
OLD | NEW |