Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: src/hydrogen-instructions.cc

Issue 7901016: Basic support for tracking smi-only arrays on ia32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: ready to land Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 1470 matching lines...) Expand 10 before | Expand all | Expand 10 after
1481 case EXTERNAL_FLOAT_ELEMENTS: 1481 case EXTERNAL_FLOAT_ELEMENTS:
1482 stream->Add("float"); 1482 stream->Add("float");
1483 break; 1483 break;
1484 case EXTERNAL_DOUBLE_ELEMENTS: 1484 case EXTERNAL_DOUBLE_ELEMENTS:
1485 stream->Add("double"); 1485 stream->Add("double");
1486 break; 1486 break;
1487 case EXTERNAL_PIXEL_ELEMENTS: 1487 case EXTERNAL_PIXEL_ELEMENTS:
1488 stream->Add("pixel"); 1488 stream->Add("pixel");
1489 break; 1489 break;
1490 case FAST_ELEMENTS: 1490 case FAST_ELEMENTS:
1491 case FAST_SMI_ONLY_ELEMENTS:
1491 case FAST_DOUBLE_ELEMENTS: 1492 case FAST_DOUBLE_ELEMENTS:
1492 case DICTIONARY_ELEMENTS: 1493 case DICTIONARY_ELEMENTS:
1493 case NON_STRICT_ARGUMENTS_ELEMENTS: 1494 case NON_STRICT_ARGUMENTS_ELEMENTS:
1494 UNREACHABLE(); 1495 UNREACHABLE();
1495 break; 1496 break;
1496 } 1497 }
1497 stream->Add("["); 1498 stream->Add("[");
1498 key()->PrintNameTo(stream); 1499 key()->PrintNameTo(stream);
1499 stream->Add("]"); 1500 stream->Add("]");
1500 } 1501 }
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
1575 break; 1576 break;
1576 case EXTERNAL_FLOAT_ELEMENTS: 1577 case EXTERNAL_FLOAT_ELEMENTS:
1577 stream->Add("float"); 1578 stream->Add("float");
1578 break; 1579 break;
1579 case EXTERNAL_DOUBLE_ELEMENTS: 1580 case EXTERNAL_DOUBLE_ELEMENTS:
1580 stream->Add("double"); 1581 stream->Add("double");
1581 break; 1582 break;
1582 case EXTERNAL_PIXEL_ELEMENTS: 1583 case EXTERNAL_PIXEL_ELEMENTS:
1583 stream->Add("pixel"); 1584 stream->Add("pixel");
1584 break; 1585 break;
1586 case FAST_SMI_ONLY_ELEMENTS:
1585 case FAST_ELEMENTS: 1587 case FAST_ELEMENTS:
1586 case FAST_DOUBLE_ELEMENTS: 1588 case FAST_DOUBLE_ELEMENTS:
1587 case DICTIONARY_ELEMENTS: 1589 case DICTIONARY_ELEMENTS:
1588 case NON_STRICT_ARGUMENTS_ELEMENTS: 1590 case NON_STRICT_ARGUMENTS_ELEMENTS:
1589 UNREACHABLE(); 1591 UNREACHABLE();
1590 break; 1592 break;
1591 } 1593 }
1592 stream->Add("["); 1594 stream->Add("[");
1593 key()->PrintNameTo(stream); 1595 key()->PrintNameTo(stream);
1594 stream->Add("] = "); 1596 stream->Add("] = ");
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
1885 1887
1886 1888
1887 void HCheckPrototypeMaps::Verify() { 1889 void HCheckPrototypeMaps::Verify() {
1888 HInstruction::Verify(); 1890 HInstruction::Verify();
1889 ASSERT(HasNoUses()); 1891 ASSERT(HasNoUses());
1890 } 1892 }
1891 1893
1892 #endif 1894 #endif
1893 1895
1894 } } // namespace v8::internal 1896 } } // namespace v8::internal
OLDNEW
« src/bootstrapper.cc ('K') | « src/hydrogen.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698