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

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

Issue 8509004: MIPS: Make _CallFunction proxy-aware. (Closed)
Patch Set: Created 9 years, 1 month 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/mips/lithium-mips.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 1177 matching lines...) Expand 10 before | Expand all | Expand 10 after
1188 1188
1189 LInstruction* LChunkBuilder::DoCallNew(HCallNew* instr) { 1189 LInstruction* LChunkBuilder::DoCallNew(HCallNew* instr) {
1190 LOperand* constructor = UseFixed(instr->constructor(), a1); 1190 LOperand* constructor = UseFixed(instr->constructor(), a1);
1191 argument_count_ -= instr->argument_count(); 1191 argument_count_ -= instr->argument_count();
1192 LCallNew* result = new LCallNew(constructor); 1192 LCallNew* result = new LCallNew(constructor);
1193 return MarkAsCall(DefineFixed(result, v0), instr); 1193 return MarkAsCall(DefineFixed(result, v0), instr);
1194 } 1194 }
1195 1195
1196 1196
1197 LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) { 1197 LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) {
1198 LOperand* function = UseFixed(instr->function(), a1);
1198 argument_count_ -= instr->argument_count(); 1199 argument_count_ -= instr->argument_count();
1199 return MarkAsCall(DefineFixed(new LCallFunction, v0), instr); 1200 return MarkAsCall(DefineFixed(new LCallFunction(function), v0), instr);
1200 } 1201 }
1201 1202
1202 1203
1203 LInstruction* LChunkBuilder::DoCallRuntime(HCallRuntime* instr) { 1204 LInstruction* LChunkBuilder::DoCallRuntime(HCallRuntime* instr) {
1204 argument_count_ -= instr->argument_count(); 1205 argument_count_ -= instr->argument_count();
1205 return MarkAsCall(DefineFixed(new LCallRuntime, v0), instr); 1206 return MarkAsCall(DefineFixed(new LCallRuntime, v0), instr);
1206 } 1207 }
1207 1208
1208 1209
1209 LInstruction* LChunkBuilder::DoShr(HShr* instr) { 1210 LInstruction* LChunkBuilder::DoShr(HShr* instr) {
(...skipping 984 matching lines...) Expand 10 before | Expand all | Expand 10 after
2194 2195
2195 LInstruction* LChunkBuilder::DoIn(HIn* instr) { 2196 LInstruction* LChunkBuilder::DoIn(HIn* instr) {
2196 LOperand* key = UseRegisterAtStart(instr->key()); 2197 LOperand* key = UseRegisterAtStart(instr->key());
2197 LOperand* object = UseRegisterAtStart(instr->object()); 2198 LOperand* object = UseRegisterAtStart(instr->object());
2198 LIn* result = new LIn(key, object); 2199 LIn* result = new LIn(key, object);
2199 return MarkAsCall(DefineFixed(result, v0), instr); 2200 return MarkAsCall(DefineFixed(result, v0), instr);
2200 } 2201 }
2201 2202
2202 2203
2203 } } // namespace v8::internal 2204 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698