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

Side by Side Diff: src/arm/lithium-codegen-arm.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/arm/lithium-arm.cc ('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 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 242
243 void CallCodeGeneric( 243 void CallCodeGeneric(
244 Handle<Code> code, 244 Handle<Code> code,
245 RelocInfo::Mode mode, 245 RelocInfo::Mode mode,
246 LInstruction* instr, 246 LInstruction* instr,
247 SafepointMode safepoint_mode, 247 SafepointMode safepoint_mode,
248 TargetAddressStorageMode storage_mode = CAN_INLINE_TARGET_ADDRESS); 248 TargetAddressStorageMode storage_mode = CAN_INLINE_TARGET_ADDRESS);
249 249
250 void CallRuntime(const Runtime::Function* function, 250 void CallRuntime(const Runtime::Function* function,
251 int num_arguments, 251 int num_arguments,
252 LInstruction* instr); 252 LInstruction* instr,
253 SaveFPRegsMode save_doubles = kDontSaveFPRegs);
253 254
254 void CallRuntime(Runtime::FunctionId id, 255 void CallRuntime(Runtime::FunctionId id,
255 int num_arguments, 256 int num_arguments,
256 LInstruction* instr) { 257 LInstruction* instr) {
257 const Runtime::Function* function = Runtime::FunctionForId(id); 258 const Runtime::Function* function = Runtime::FunctionForId(id);
258 CallRuntime(function, num_arguments, instr); 259 CallRuntime(function, num_arguments, instr);
259 } 260 }
260 261
261 void CallRuntimeFromDeferred(Runtime::FunctionId id, 262 void CallRuntimeFromDeferred(Runtime::FunctionId id,
262 int argc, 263 int argc,
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 LCodeGen* codegen_; 497 LCodeGen* codegen_;
497 Label entry_; 498 Label entry_;
498 Label exit_; 499 Label exit_;
499 Label* external_exit_; 500 Label* external_exit_;
500 int instruction_index_; 501 int instruction_index_;
501 }; 502 };
502 503
503 } } // namespace v8::internal 504 } } // namespace v8::internal
504 505
505 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 506 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698