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

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

Issue 8318014: Make _CallFunction proxy-aware. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed Kevin's comment. 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/arm/lithium-codegen-arm.cc » ('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 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after
1204 1204
1205 LInstruction* LChunkBuilder::DoCallNew(HCallNew* instr) { 1205 LInstruction* LChunkBuilder::DoCallNew(HCallNew* instr) {
1206 LOperand* constructor = UseFixed(instr->constructor(), r1); 1206 LOperand* constructor = UseFixed(instr->constructor(), r1);
1207 argument_count_ -= instr->argument_count(); 1207 argument_count_ -= instr->argument_count();
1208 LCallNew* result = new LCallNew(constructor); 1208 LCallNew* result = new LCallNew(constructor);
1209 return MarkAsCall(DefineFixed(result, r0), instr); 1209 return MarkAsCall(DefineFixed(result, r0), instr);
1210 } 1210 }
1211 1211
1212 1212
1213 LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) { 1213 LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) {
1214 LOperand* function = UseFixed(instr->function(), r1);
1214 argument_count_ -= instr->argument_count(); 1215 argument_count_ -= instr->argument_count();
1215 return MarkAsCall(DefineFixed(new LCallFunction, r0), instr); 1216 return MarkAsCall(DefineFixed(new LCallFunction(function), r0), instr);
1216 } 1217 }
1217 1218
1218 1219
1219 LInstruction* LChunkBuilder::DoCallRuntime(HCallRuntime* instr) { 1220 LInstruction* LChunkBuilder::DoCallRuntime(HCallRuntime* instr) {
1220 argument_count_ -= instr->argument_count(); 1221 argument_count_ -= instr->argument_count();
1221 return MarkAsCall(DefineFixed(new LCallRuntime, r0), instr); 1222 return MarkAsCall(DefineFixed(new LCallRuntime, r0), instr);
1222 } 1223 }
1223 1224
1224 1225
1225 LInstruction* LChunkBuilder::DoShr(HShr* instr) { 1226 LInstruction* LChunkBuilder::DoShr(HShr* instr) {
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after
2182 2183
2183 LInstruction* LChunkBuilder::DoIn(HIn* instr) { 2184 LInstruction* LChunkBuilder::DoIn(HIn* instr) {
2184 LOperand* key = UseRegisterAtStart(instr->key()); 2185 LOperand* key = UseRegisterAtStart(instr->key());
2185 LOperand* object = UseRegisterAtStart(instr->object()); 2186 LOperand* object = UseRegisterAtStart(instr->object());
2186 LIn* result = new LIn(key, object); 2187 LIn* result = new LIn(key, object);
2187 return MarkAsCall(DefineFixed(result, r0), instr); 2188 return MarkAsCall(DefineFixed(result, r0), instr);
2188 } 2189 }
2189 2190
2190 2191
2191 } } // namespace v8::internal 2192 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698