OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 LInstruction* instr) { | 199 LInstruction* instr) { |
200 const Runtime::Function* function = Runtime::FunctionForId(id); | 200 const Runtime::Function* function = Runtime::FunctionForId(id); |
201 CallRuntime(function, num_arguments, instr); | 201 CallRuntime(function, num_arguments, instr); |
202 } | 202 } |
203 | 203 |
204 void CallRuntimeFromDeferred(Runtime::FunctionId id, | 204 void CallRuntimeFromDeferred(Runtime::FunctionId id, |
205 int argc, | 205 int argc, |
206 LInstruction* instr); | 206 LInstruction* instr); |
207 | 207 |
208 // Generate a direct call to a known function. Expects the function | 208 // Generate a direct call to a known function. Expects the function |
209 // to be in edi. | 209 // to be in r1. |
210 void CallKnownFunction(Handle<JSFunction> function, | 210 void CallKnownFunction(Handle<JSFunction> function, |
211 int arity, | 211 int arity, |
212 LInstruction* instr, | 212 LInstruction* instr, |
213 CallKind call_kind); | 213 CallKind call_kind); |
214 | 214 |
215 void LoadHeapObject(Register result, Handle<HeapObject> object); | 215 void LoadHeapObject(Register result, Handle<HeapObject> object); |
216 | 216 |
217 void RegisterLazyDeoptimization(LInstruction* instr, | 217 void RegisterLazyDeoptimization(LInstruction* instr, |
218 SafepointMode safepoint_mode); | 218 SafepointMode safepoint_mode); |
219 | 219 |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 LCodeGen* codegen_; | 401 LCodeGen* codegen_; |
402 Label entry_; | 402 Label entry_; |
403 Label exit_; | 403 Label exit_; |
404 Label* external_exit_; | 404 Label* external_exit_; |
405 int instruction_index_; | 405 int instruction_index_; |
406 }; | 406 }; |
407 | 407 |
408 } } // namespace v8::internal | 408 } } // namespace v8::internal |
409 | 409 |
410 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 410 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |