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

Side by Side Diff: src/x64/lithium-x64.cc

Issue 6683022: [Isolates] Merge 7111:7152 from bleeding_edge to isolates. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: Created 9 years, 9 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
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1774 matching lines...) Expand 10 before | Expand all | Expand 10 after
1785 ASSERT(instr->key()->representation().IsInteger32()); 1785 ASSERT(instr->key()->representation().IsInteger32());
1786 LOperand* obj = UseRegisterAtStart(instr->object()); 1786 LOperand* obj = UseRegisterAtStart(instr->object());
1787 LOperand* key = UseRegisterAtStart(instr->key()); 1787 LOperand* key = UseRegisterAtStart(instr->key());
1788 LLoadKeyedFastElement* result = new LLoadKeyedFastElement(obj, key); 1788 LLoadKeyedFastElement* result = new LLoadKeyedFastElement(obj, key);
1789 return AssignEnvironment(DefineSameAsFirst(result)); 1789 return AssignEnvironment(DefineSameAsFirst(result));
1790 } 1790 }
1791 1791
1792 1792
1793 LInstruction* LChunkBuilder::DoLoadPixelArrayElement( 1793 LInstruction* LChunkBuilder::DoLoadPixelArrayElement(
1794 HLoadPixelArrayElement* instr) { 1794 HLoadPixelArrayElement* instr) {
1795 Abort("Pixel array loads in generated code cause segfaults (danno)");
1796 ASSERT(instr->representation().IsInteger32()); 1795 ASSERT(instr->representation().IsInteger32());
1797 ASSERT(instr->key()->representation().IsInteger32()); 1796 ASSERT(instr->key()->representation().IsInteger32());
1798 LOperand* external_pointer = 1797 LOperand* external_pointer =
1799 UseRegisterAtStart(instr->external_pointer()); 1798 UseRegisterAtStart(instr->external_pointer());
1800 LOperand* key = UseRegisterAtStart(instr->key()); 1799 LOperand* key = UseRegisterAtStart(instr->key());
1801 LLoadPixelArrayElement* result = 1800 LLoadPixelArrayElement* result =
1802 new LLoadPixelArrayElement(external_pointer, key); 1801 new LLoadPixelArrayElement(external_pointer, key);
1803 return DefineSameAsFirst(result); 1802 return DefineSameAsFirst(result);
1804 } 1803 }
1805 1804
(...skipping 21 matching lines...) Expand all
1827 LOperand* key = needs_write_barrier 1826 LOperand* key = needs_write_barrier
1828 ? UseTempRegister(instr->key()) 1827 ? UseTempRegister(instr->key())
1829 : UseRegisterOrConstantAtStart(instr->key()); 1828 : UseRegisterOrConstantAtStart(instr->key());
1830 1829
1831 return AssignEnvironment(new LStoreKeyedFastElement(obj, key, val)); 1830 return AssignEnvironment(new LStoreKeyedFastElement(obj, key, val));
1832 } 1831 }
1833 1832
1834 1833
1835 LInstruction* LChunkBuilder::DoStorePixelArrayElement( 1834 LInstruction* LChunkBuilder::DoStorePixelArrayElement(
1836 HStorePixelArrayElement* instr) { 1835 HStorePixelArrayElement* instr) {
1837 Abort("Pixel array stores in generated code sometimes segfaults (danno)");
1838 ASSERT(instr->value()->representation().IsInteger32()); 1836 ASSERT(instr->value()->representation().IsInteger32());
1839 ASSERT(instr->external_pointer()->representation().IsExternal()); 1837 ASSERT(instr->external_pointer()->representation().IsExternal());
1840 ASSERT(instr->key()->representation().IsInteger32()); 1838 ASSERT(instr->key()->representation().IsInteger32());
1841 1839
1842 LOperand* external_pointer = UseRegister(instr->external_pointer()); 1840 LOperand* external_pointer = UseRegister(instr->external_pointer());
1843 LOperand* val = UseTempRegister(instr->value()); 1841 LOperand* val = UseTempRegister(instr->value());
1844 LOperand* key = UseRegister(instr->key()); 1842 LOperand* key = UseRegister(instr->key());
1845 1843
1846 return new LStorePixelArrayElement(external_pointer, key, val); 1844 return new LStorePixelArrayElement(external_pointer, key, val);
1847 } 1845 }
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
2042 2040
2043 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 2041 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
2044 HEnvironment* outer = current_block_->last_environment()->outer(); 2042 HEnvironment* outer = current_block_->last_environment()->outer();
2045 current_block_->UpdateEnvironment(outer); 2043 current_block_->UpdateEnvironment(outer);
2046 return NULL; 2044 return NULL;
2047 } 2045 }
2048 2046
2049 } } // namespace v8::internal 2047 } } // namespace v8::internal
2050 2048
2051 #endif // V8_TARGET_ARCH_X64 2049 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698