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

Side by Side Diff: src/x64/lithium-codegen-x64.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/ia32/macro-assembler-ia32.cc ('k') | src/x64/lithium-codegen-x64.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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 SafepointMode safepoint_mode, 204 SafepointMode safepoint_mode,
205 int argc); 205 int argc);
206 206
207 207
208 void CallCode(Handle<Code> code, 208 void CallCode(Handle<Code> code,
209 RelocInfo::Mode mode, 209 RelocInfo::Mode mode,
210 LInstruction* instr); 210 LInstruction* instr);
211 211
212 void CallRuntime(const Runtime::Function* function, 212 void CallRuntime(const Runtime::Function* function,
213 int num_arguments, 213 int num_arguments,
214 LInstruction* instr); 214 LInstruction* instr,
215 SaveFPRegsMode save_doubles = kDontSaveFPRegs);
215 216
216 void CallRuntime(Runtime::FunctionId id, 217 void CallRuntime(Runtime::FunctionId id,
217 int num_arguments, 218 int num_arguments,
218 LInstruction* instr) { 219 LInstruction* instr) {
219 const Runtime::Function* function = Runtime::FunctionForId(id); 220 const Runtime::Function* function = Runtime::FunctionForId(id);
220 CallRuntime(function, num_arguments, instr); 221 CallRuntime(function, num_arguments, instr);
221 } 222 }
222 223
223 void CallRuntimeFromDeferred(Runtime::FunctionId id, 224 void CallRuntimeFromDeferred(Runtime::FunctionId id,
224 int argc, 225 int argc,
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 Label entry_; 442 Label entry_;
442 Label exit_; 443 Label exit_;
443 Label done_; 444 Label done_;
444 Label* external_exit_; 445 Label* external_exit_;
445 int instruction_index_; 446 int instruction_index_;
446 }; 447 };
447 448
448 } } // namespace v8::internal 449 } } // namespace v8::internal
449 450
450 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 451 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698