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

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

Issue 25567002: MIPS: Lazily save double registers for HCallRuntime instructions within Hydrogen code stubs. (Closed) Base URL: https://github.com/v8/v8.git@gbl
Patch Set: Created 7 years, 2 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
« no previous file with comments | « no previous file | src/mips/lithium-codegen-mips.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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 RelocInfo::Mode mode, 238 RelocInfo::Mode mode,
239 LInstruction* instr); 239 LInstruction* instr);
240 240
241 void CallCodeGeneric(Handle<Code> code, 241 void CallCodeGeneric(Handle<Code> code,
242 RelocInfo::Mode mode, 242 RelocInfo::Mode mode,
243 LInstruction* instr, 243 LInstruction* instr,
244 SafepointMode safepoint_mode); 244 SafepointMode safepoint_mode);
245 245
246 void CallRuntime(const Runtime::Function* function, 246 void CallRuntime(const Runtime::Function* function,
247 int num_arguments, 247 int num_arguments,
248 LInstruction* instr); 248 LInstruction* instr,
249 SaveFPRegsMode save_doubles = kDontSaveFPRegs);
249 250
250 void CallRuntime(Runtime::FunctionId id, 251 void CallRuntime(Runtime::FunctionId id,
251 int num_arguments, 252 int num_arguments,
252 LInstruction* instr) { 253 LInstruction* instr) {
253 const Runtime::Function* function = Runtime::FunctionForId(id); 254 const Runtime::Function* function = Runtime::FunctionForId(id);
254 CallRuntime(function, num_arguments, instr); 255 CallRuntime(function, num_arguments, instr);
255 } 256 }
256 257
257 void CallRuntimeFromDeferred(Runtime::FunctionId id, 258 void CallRuntimeFromDeferred(Runtime::FunctionId id,
258 int argc, 259 int argc,
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 LCodeGen* codegen_; 518 LCodeGen* codegen_;
518 Label entry_; 519 Label entry_;
519 Label exit_; 520 Label exit_;
520 Label* external_exit_; 521 Label* external_exit_;
521 int instruction_index_; 522 int instruction_index_;
522 }; 523 };
523 524
524 } } // namespace v8::internal 525 } } // namespace v8::internal
525 526
526 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 527 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698