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

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

Issue 6664001: [Isolates] Merge (7083,7111] from bleeding_edge. (Closed)
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
« no previous file with comments | « src/ia32/lithium-ia32.h ('k') | src/ia32/macro-assembler-ia32.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 1559 matching lines...) Expand 10 before | Expand all | Expand 10 after
1570 return DefineAsRegister(new LJSArrayLength(array)); 1570 return DefineAsRegister(new LJSArrayLength(array));
1571 } 1571 }
1572 1572
1573 1573
1574 LInstruction* LChunkBuilder::DoFixedArrayLength(HFixedArrayLength* instr) { 1574 LInstruction* LChunkBuilder::DoFixedArrayLength(HFixedArrayLength* instr) {
1575 LOperand* array = UseRegisterAtStart(instr->value()); 1575 LOperand* array = UseRegisterAtStart(instr->value());
1576 return DefineAsRegister(new LFixedArrayLength(array)); 1576 return DefineAsRegister(new LFixedArrayLength(array));
1577 } 1577 }
1578 1578
1579 1579
1580 LInstruction* LChunkBuilder::DoPixelArrayLength(HPixelArrayLength* instr) { 1580 LInstruction* LChunkBuilder::DoExternalArrayLength(
1581 HExternalArrayLength* instr) {
1581 LOperand* array = UseRegisterAtStart(instr->value()); 1582 LOperand* array = UseRegisterAtStart(instr->value());
1582 return DefineAsRegister(new LPixelArrayLength(array)); 1583 return DefineAsRegister(new LExternalArrayLength(array));
1583 } 1584 }
1584 1585
1585 1586
1586 LInstruction* LChunkBuilder::DoValueOf(HValueOf* instr) { 1587 LInstruction* LChunkBuilder::DoValueOf(HValueOf* instr) {
1587 LOperand* object = UseRegister(instr->value()); 1588 LOperand* object = UseRegister(instr->value());
1588 LValueOf* result = new LValueOf(object, TempRegister()); 1589 LValueOf* result = new LValueOf(object, TempRegister());
1589 return AssignEnvironment(DefineSameAsFirst(result)); 1590 return AssignEnvironment(DefineSameAsFirst(result));
1590 } 1591 }
1591 1592
1592 1593
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
1794 TempRegister()))); 1795 TempRegister())));
1795 } 1796 }
1796 1797
1797 1798
1798 LInstruction* LChunkBuilder::DoLoadElements(HLoadElements* instr) { 1799 LInstruction* LChunkBuilder::DoLoadElements(HLoadElements* instr) {
1799 LOperand* input = UseRegisterAtStart(instr->value()); 1800 LOperand* input = UseRegisterAtStart(instr->value());
1800 return DefineAsRegister(new LLoadElements(input)); 1801 return DefineAsRegister(new LLoadElements(input));
1801 } 1802 }
1802 1803
1803 1804
1804 LInstruction* LChunkBuilder::DoLoadPixelArrayExternalPointer( 1805 LInstruction* LChunkBuilder::DoLoadExternalArrayPointer(
1805 HLoadPixelArrayExternalPointer* instr) { 1806 HLoadExternalArrayPointer* instr) {
1806 LOperand* input = UseRegisterAtStart(instr->value()); 1807 LOperand* input = UseRegisterAtStart(instr->value());
1807 return DefineAsRegister(new LLoadPixelArrayExternalPointer(input)); 1808 return DefineAsRegister(new LLoadExternalArrayPointer(input));
1808 } 1809 }
1809 1810
1810 1811
1811 LInstruction* LChunkBuilder::DoLoadKeyedFastElement( 1812 LInstruction* LChunkBuilder::DoLoadKeyedFastElement(
1812 HLoadKeyedFastElement* instr) { 1813 HLoadKeyedFastElement* instr) {
1813 ASSERT(instr->representation().IsTagged()); 1814 ASSERT(instr->representation().IsTagged());
1814 ASSERT(instr->key()->representation().IsInteger32()); 1815 ASSERT(instr->key()->representation().IsInteger32());
1815 LOperand* obj = UseRegisterAtStart(instr->object()); 1816 LOperand* obj = UseRegisterAtStart(instr->object());
1816 LOperand* key = UseRegisterAtStart(instr->key()); 1817 LOperand* key = UseRegisterAtStart(instr->key());
1817 LLoadKeyedFastElement* result = new LLoadKeyedFastElement(obj, key); 1818 LLoadKeyedFastElement* result = new LLoadKeyedFastElement(obj, key);
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
2082 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 2083 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
2083 HEnvironment* outer = current_block_->last_environment()->outer(); 2084 HEnvironment* outer = current_block_->last_environment()->outer();
2084 current_block_->UpdateEnvironment(outer); 2085 current_block_->UpdateEnvironment(outer);
2085 return NULL; 2086 return NULL;
2086 } 2087 }
2087 2088
2088 2089
2089 } } // namespace v8::internal 2090 } } // namespace v8::internal
2090 2091
2091 #endif // V8_TARGET_ARCH_IA32 2092 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.h ('k') | src/ia32/macro-assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698