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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 | 235 |
236 // Generate a direct call to a known function. Expects the function | 236 // Generate a direct call to a known function. Expects the function |
237 // to be in a1. | 237 // to be in a1. |
238 void CallKnownFunction(Handle<JSFunction> function, | 238 void CallKnownFunction(Handle<JSFunction> function, |
239 int formal_parameter_count, | 239 int formal_parameter_count, |
240 int arity, | 240 int arity, |
241 LInstruction* instr, | 241 LInstruction* instr, |
242 CallKind call_kind, | 242 CallKind call_kind, |
243 A1State a1_state); | 243 A1State a1_state); |
244 | 244 |
245 void LoadHeapObject(Register result, Handle<HeapObject> object); | |
246 | |
247 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 245 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
248 SafepointMode safepoint_mode); | 246 SafepointMode safepoint_mode); |
249 | 247 |
250 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 248 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
251 Safepoint::DeoptMode mode); | 249 Safepoint::DeoptMode mode); |
252 void DeoptimizeIf(Condition condition, | 250 void DeoptimizeIf(Condition condition, |
253 LEnvironment* environment, | 251 LEnvironment* environment, |
254 Deoptimizer::BailoutType bailout_type, | 252 Deoptimizer::BailoutType bailout_type, |
255 Register src1 = zero_reg, | 253 Register src1 = zero_reg, |
256 const Operand& src2 = Operand(zero_reg)); | 254 const Operand& src2 = Operand(zero_reg)); |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 LCodeGen* codegen_; | 473 LCodeGen* codegen_; |
476 Label entry_; | 474 Label entry_; |
477 Label exit_; | 475 Label exit_; |
478 Label* external_exit_; | 476 Label* external_exit_; |
479 int instruction_index_; | 477 int instruction_index_; |
480 }; | 478 }; |
481 | 479 |
482 } } // namespace v8::internal | 480 } } // namespace v8::internal |
483 | 481 |
484 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 482 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
OLD | NEW |