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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 int num_arguments, | 183 int num_arguments, |
184 LInstruction* instr) { | 184 LInstruction* instr) { |
185 const Runtime::Function* function = Runtime::FunctionForId(id); | 185 const Runtime::Function* function = Runtime::FunctionForId(id); |
186 CallRuntime(function, num_arguments, instr); | 186 CallRuntime(function, num_arguments, instr); |
187 } | 187 } |
188 | 188 |
189 void CallRuntimeFromDeferred(Runtime::FunctionId id, | 189 void CallRuntimeFromDeferred(Runtime::FunctionId id, |
190 int argc, | 190 int argc, |
191 LInstruction* instr); | 191 LInstruction* instr); |
192 | 192 |
193 | |
194 // Generate a direct call to a known function. Expects the function | 193 // Generate a direct call to a known function. Expects the function |
195 // to be in edi. | 194 // to be in rdi. |
196 void CallKnownFunction(Handle<JSFunction> function, | 195 void CallKnownFunction(Handle<JSFunction> function, |
197 int arity, | 196 int arity, |
198 LInstruction* instr, | 197 LInstruction* instr, |
199 CallKind call_kind); | 198 CallKind call_kind); |
200 | 199 |
201 void LoadHeapObject(Register result, Handle<HeapObject> object); | 200 void LoadHeapObject(Register result, Handle<HeapObject> object); |
202 | 201 |
203 void RegisterLazyDeoptimization(LInstruction* instr, | 202 void RegisterLazyDeoptimization(LInstruction* instr, |
204 SafepointMode safepoint_mode, | 203 SafepointMode safepoint_mode, |
205 int argc); | 204 int argc); |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 LCodeGen* codegen_; | 370 LCodeGen* codegen_; |
372 Label entry_; | 371 Label entry_; |
373 Label exit_; | 372 Label exit_; |
374 Label* external_exit_; | 373 Label* external_exit_; |
375 int instruction_index_; | 374 int instruction_index_; |
376 }; | 375 }; |
377 | 376 |
378 } } // namespace v8::internal | 377 } } // namespace v8::internal |
379 | 378 |
380 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 379 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |