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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 } | 201 } |
202 | 202 |
203 void CallRuntimeFromDeferred(Runtime::FunctionId id, | 203 void CallRuntimeFromDeferred(Runtime::FunctionId id, |
204 int argc, | 204 int argc, |
205 LInstruction* instr); | 205 LInstruction* instr); |
206 | 206 |
207 // Generate a direct call to a known function. Expects the function | 207 // Generate a direct call to a known function. Expects the function |
208 // to be in edi. | 208 // to be in edi. |
209 void CallKnownFunction(Handle<JSFunction> function, | 209 void CallKnownFunction(Handle<JSFunction> function, |
210 int arity, | 210 int arity, |
211 LInstruction* instr); | 211 LInstruction* instr, |
| 212 ReceiverType receiver_type); |
212 | 213 |
213 void LoadHeapObject(Register result, Handle<HeapObject> object); | 214 void LoadHeapObject(Register result, Handle<HeapObject> object); |
214 | 215 |
215 void RegisterLazyDeoptimization(LInstruction* instr, | 216 void RegisterLazyDeoptimization(LInstruction* instr, |
216 SafepointMode safepoint_mode); | 217 SafepointMode safepoint_mode); |
217 | 218 |
218 void RegisterEnvironmentForDeoptimization(LEnvironment* environment); | 219 void RegisterEnvironmentForDeoptimization(LEnvironment* environment); |
219 void DeoptimizeIf(Condition cc, LEnvironment* environment); | 220 void DeoptimizeIf(Condition cc, LEnvironment* environment); |
220 | 221 |
221 void AddToTranslation(Translation* translation, | 222 void AddToTranslation(Translation* translation, |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 private: | 366 private: |
366 LCodeGen* codegen_; | 367 LCodeGen* codegen_; |
367 Label entry_; | 368 Label entry_; |
368 Label exit_; | 369 Label exit_; |
369 Label* external_exit_; | 370 Label* external_exit_; |
370 }; | 371 }; |
371 | 372 |
372 } } // namespace v8::internal | 373 } } // namespace v8::internal |
373 | 374 |
374 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 375 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |