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

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

Issue 6368003: Fix operand type for keyed calls.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 11 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/ia32/lithium-ia32.h ('k') | no next file » | 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 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 UNREACHABLE(); 1159 UNREACHABLE();
1160 return NULL; 1160 return NULL;
1161 } 1161 }
1162 } 1162 }
1163 } 1163 }
1164 1164
1165 1165
1166 LInstruction* LChunkBuilder::DoCallKeyed(HCallKeyed* instr) { 1166 LInstruction* LChunkBuilder::DoCallKeyed(HCallKeyed* instr) {
1167 ASSERT(instr->key()->representation().IsTagged()); 1167 ASSERT(instr->key()->representation().IsTagged());
1168 argument_count_ -= instr->argument_count(); 1168 argument_count_ -= instr->argument_count();
1169 LOperand* temp = UseFixed(instr->key(), ecx); 1169 LOperand* key = UseFixed(instr->key(), ecx);
1170 return MarkAsCall(DefineFixed(new LCallKeyed(temp), eax), instr); 1170 return MarkAsCall(DefineFixed(new LCallKeyed(key), eax), instr);
1171 } 1171 }
1172 1172
1173 1173
1174 LInstruction* LChunkBuilder::DoCallNamed(HCallNamed* instr) { 1174 LInstruction* LChunkBuilder::DoCallNamed(HCallNamed* instr) {
1175 argument_count_ -= instr->argument_count(); 1175 argument_count_ -= instr->argument_count();
1176 return MarkAsCall(DefineFixed(new LCallNamed, eax), instr); 1176 return MarkAsCall(DefineFixed(new LCallNamed, eax), instr);
1177 } 1177 }
1178 1178
1179 1179
1180 LInstruction* LChunkBuilder::DoCallGlobal(HCallGlobal* instr) { 1180 LInstruction* LChunkBuilder::DoCallGlobal(HCallGlobal* instr) {
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
1872 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 1872 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
1873 HEnvironment* outer = current_block_->last_environment()->outer(); 1873 HEnvironment* outer = current_block_->last_environment()->outer();
1874 current_block_->UpdateEnvironment(outer); 1874 current_block_->UpdateEnvironment(outer);
1875 return NULL; 1875 return NULL;
1876 } 1876 }
1877 1877
1878 1878
1879 } } // namespace v8::internal 1879 } } // namespace v8::internal
1880 1880
1881 #endif // V8_TARGET_ARCH_IA32 1881 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698