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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 | 187 |
188 void CallRuntimeFromDeferred(Runtime::FunctionId id, | 188 void CallRuntimeFromDeferred(Runtime::FunctionId id, |
189 int argc, | 189 int argc, |
190 LInstruction* instr); | 190 LInstruction* instr); |
191 | 191 |
192 | 192 |
193 // Generate a direct call to a known function. Expects the function | 193 // Generate a direct call to a known function. Expects the function |
194 // to be in edi. | 194 // to be in edi. |
195 void CallKnownFunction(Handle<JSFunction> function, | 195 void CallKnownFunction(Handle<JSFunction> function, |
196 int arity, | 196 int arity, |
197 LInstruction* instr); | 197 LInstruction* instr, |
| 198 CallKind call_kind); |
198 | 199 |
199 void LoadHeapObject(Register result, Handle<HeapObject> object); | 200 void LoadHeapObject(Register result, Handle<HeapObject> object); |
200 | 201 |
201 void RegisterLazyDeoptimization(LInstruction* instr, | 202 void RegisterLazyDeoptimization(LInstruction* instr, |
202 SafepointMode safepoint_mode, | 203 SafepointMode safepoint_mode, |
203 int argc); | 204 int argc); |
204 void RegisterEnvironmentForDeoptimization(LEnvironment* environment); | 205 void RegisterEnvironmentForDeoptimization(LEnvironment* environment); |
205 void DeoptimizeIf(Condition cc, LEnvironment* environment); | 206 void DeoptimizeIf(Condition cc, LEnvironment* environment); |
206 | 207 |
207 void AddToTranslation(Translation* translation, | 208 void AddToTranslation(Translation* translation, |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 private: | 358 private: |
358 LCodeGen* codegen_; | 359 LCodeGen* codegen_; |
359 Label entry_; | 360 Label entry_; |
360 Label exit_; | 361 Label exit_; |
361 Label* external_exit_; | 362 Label* external_exit_; |
362 }; | 363 }; |
363 | 364 |
364 } } // namespace v8::internal | 365 } } // namespace v8::internal |
365 | 366 |
366 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 367 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |