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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 LInstruction* instr); | 260 LInstruction* instr); |
261 | 261 |
262 enum A1State { | 262 enum A1State { |
263 A1_UNINITIALIZED, | 263 A1_UNINITIALIZED, |
264 A1_CONTAINS_TARGET | 264 A1_CONTAINS_TARGET |
265 }; | 265 }; |
266 | 266 |
267 // Generate a direct call to a known function. Expects the function | 267 // Generate a direct call to a known function. Expects the function |
268 // to be in a1. | 268 // to be in a1. |
269 void CallKnownFunction(Handle<JSFunction> function, | 269 void CallKnownFunction(Handle<JSFunction> function, |
| 270 int formal_parameter_count, |
270 int arity, | 271 int arity, |
271 LInstruction* instr, | 272 LInstruction* instr, |
272 CallKind call_kind, | 273 CallKind call_kind, |
273 A1State a1_state); | 274 A1State a1_state); |
274 | 275 |
275 void LoadHeapObject(Register result, Handle<HeapObject> object); | 276 void LoadHeapObject(Register result, Handle<HeapObject> object); |
276 | 277 |
277 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 278 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
278 SafepointMode safepoint_mode); | 279 SafepointMode safepoint_mode); |
279 | 280 |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 LCodeGen* codegen_; | 508 LCodeGen* codegen_; |
508 Label entry_; | 509 Label entry_; |
509 Label exit_; | 510 Label exit_; |
510 Label* external_exit_; | 511 Label* external_exit_; |
511 int instruction_index_; | 512 int instruction_index_; |
512 }; | 513 }; |
513 | 514 |
514 } } // namespace v8::internal | 515 } } // namespace v8::internal |
515 | 516 |
516 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 517 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
OLD | NEW |