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

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

Issue 11037023: Use movw/movt instead of constant pool on ARMv7 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix nits Created 8 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/ic-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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 bool GenerateBody(); 206 bool GenerateBody();
207 bool GenerateDeferredCode(); 207 bool GenerateDeferredCode();
208 bool GenerateDeoptJumpTable(); 208 bool GenerateDeoptJumpTable();
209 bool GenerateSafepointTable(); 209 bool GenerateSafepointTable();
210 210
211 enum SafepointMode { 211 enum SafepointMode {
212 RECORD_SIMPLE_SAFEPOINT, 212 RECORD_SIMPLE_SAFEPOINT,
213 RECORD_SAFEPOINT_WITH_REGISTERS_AND_NO_ARGUMENTS 213 RECORD_SAFEPOINT_WITH_REGISTERS_AND_NO_ARGUMENTS
214 }; 214 };
215 215
216 void CallCode(Handle<Code> code, 216 void CallCode(
217 RelocInfo::Mode mode, 217 Handle<Code> code,
218 LInstruction* instr); 218 RelocInfo::Mode mode,
219 LInstruction* instr,
220 TargetAddressStorageMode storage_mode = CAN_INLINE_TARGET_ADDRESS);
219 221
220 void CallCodeGeneric(Handle<Code> code, 222 void CallCodeGeneric(
221 RelocInfo::Mode mode, 223 Handle<Code> code,
222 LInstruction* instr, 224 RelocInfo::Mode mode,
223 SafepointMode safepoint_mode); 225 LInstruction* instr,
226 SafepointMode safepoint_mode,
227 TargetAddressStorageMode storage_mode = CAN_INLINE_TARGET_ADDRESS);
224 228
225 void CallRuntime(const Runtime::Function* function, 229 void CallRuntime(const Runtime::Function* function,
226 int num_arguments, 230 int num_arguments,
227 LInstruction* instr); 231 LInstruction* instr);
228 232
229 void CallRuntime(Runtime::FunctionId id, 233 void CallRuntime(Runtime::FunctionId id,
230 int num_arguments, 234 int num_arguments,
231 LInstruction* instr) { 235 LInstruction* instr) {
232 const Runtime::Function* function = Runtime::FunctionForId(id); 236 const Runtime::Function* function = Runtime::FunctionForId(id);
233 CallRuntime(function, num_arguments, instr); 237 CallRuntime(function, num_arguments, instr);
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 LCodeGen* codegen_; 479 LCodeGen* codegen_;
476 Label entry_; 480 Label entry_;
477 Label exit_; 481 Label exit_;
478 Label* external_exit_; 482 Label* external_exit_;
479 int instruction_index_; 483 int instruction_index_;
480 }; 484 };
481 485
482 } } // namespace v8::internal 486 } } // namespace v8::internal
483 487
484 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 488 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698