OLD | NEW |
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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 void LoadContextFromDeferred(LOperand* context); | 257 void LoadContextFromDeferred(LOperand* context); |
258 | 258 |
259 enum EDIState { | 259 enum EDIState { |
260 EDI_UNINITIALIZED, | 260 EDI_UNINITIALIZED, |
261 EDI_CONTAINS_TARGET | 261 EDI_CONTAINS_TARGET |
262 }; | 262 }; |
263 | 263 |
264 // Generate a direct call to a known function. Expects the function | 264 // Generate a direct call to a known function. Expects the function |
265 // to be in edi. | 265 // to be in edi. |
266 void CallKnownFunction(Handle<JSFunction> function, | 266 void CallKnownFunction(Handle<JSFunction> function, |
| 267 int formal_parameter_count, |
267 int arity, | 268 int arity, |
268 LInstruction* instr, | 269 LInstruction* instr, |
269 CallKind call_kind, | 270 CallKind call_kind, |
270 EDIState edi_state); | 271 EDIState edi_state); |
271 | 272 |
272 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 273 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
273 SafepointMode safepoint_mode); | 274 SafepointMode safepoint_mode); |
274 | 275 |
275 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 276 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
276 Safepoint::DeoptMode mode); | 277 Safepoint::DeoptMode mode); |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 LCodeGen* codegen_; | 489 LCodeGen* codegen_; |
489 Label entry_; | 490 Label entry_; |
490 Label exit_; | 491 Label exit_; |
491 Label* external_exit_; | 492 Label* external_exit_; |
492 int instruction_index_; | 493 int instruction_index_; |
493 }; | 494 }; |
494 | 495 |
495 } } // namespace v8::internal | 496 } } // namespace v8::internal |
496 | 497 |
497 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 498 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |