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

Side by Side Diff: src/ia32/lithium-codegen-ia32.h

Issue 23530066: Lazily save double registers for HCallRuntime instructions within Hydrogen code stubs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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/hydrogen-instructions.cc ('k') | src/ia32/lithium-codegen-ia32.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 RelocInfo::Mode mode, 244 RelocInfo::Mode mode,
245 LInstruction* instr); 245 LInstruction* instr);
246 246
247 void CallCodeGeneric(Handle<Code> code, 247 void CallCodeGeneric(Handle<Code> code,
248 RelocInfo::Mode mode, 248 RelocInfo::Mode mode,
249 LInstruction* instr, 249 LInstruction* instr,
250 SafepointMode safepoint_mode); 250 SafepointMode safepoint_mode);
251 251
252 void CallRuntime(const Runtime::Function* fun, 252 void CallRuntime(const Runtime::Function* fun,
253 int argc, 253 int argc,
254 LInstruction* instr); 254 LInstruction* instr,
255 SaveFPRegsMode save_doubles = kDontSaveFPRegs);
255 256
256 void CallRuntime(Runtime::FunctionId id, 257 void CallRuntime(Runtime::FunctionId id,
257 int argc, 258 int argc,
258 LInstruction* instr) { 259 LInstruction* instr) {
259 const Runtime::Function* function = Runtime::FunctionForId(id); 260 const Runtime::Function* function = Runtime::FunctionForId(id);
260 CallRuntime(function, argc, instr); 261 CallRuntime(function, argc, instr);
261 } 262 }
262 263
263 void CallRuntimeFromDeferred(Runtime::FunctionId id, 264 void CallRuntimeFromDeferred(Runtime::FunctionId id,
264 int argc, 265 int argc,
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 Label exit_; 566 Label exit_;
566 Label* external_exit_; 567 Label* external_exit_;
567 Label done_; 568 Label done_;
568 int instruction_index_; 569 int instruction_index_;
569 LCodeGen::X87Stack x87_stack_; 570 LCodeGen::X87Stack x87_stack_;
570 }; 571 };
571 572
572 } } // namespace v8::internal 573 } } // namespace v8::internal
573 574
574 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 575 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698