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 A1_UNINITIALIZED, | 235 A1_UNINITIALIZED, |
236 A1_CONTAINS_TARGET | 236 A1_CONTAINS_TARGET |
237 }; | 237 }; |
238 | 238 |
239 // Generate a direct call to a known function. Expects the function | 239 // Generate a direct call to a known function. Expects the function |
240 // to be in a1. | 240 // to be in a1. |
241 void CallKnownFunction(Handle<JSFunction> function, | 241 void CallKnownFunction(Handle<JSFunction> function, |
242 int formal_parameter_count, | 242 int formal_parameter_count, |
243 int arity, | 243 int arity, |
244 LInstruction* instr, | 244 LInstruction* instr, |
245 CallKind call_kind, | |
246 A1State a1_state); | 245 A1State a1_state); |
247 | 246 |
248 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 247 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
249 SafepointMode safepoint_mode); | 248 SafepointMode safepoint_mode); |
250 | 249 |
251 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 250 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
252 Safepoint::DeoptMode mode); | 251 Safepoint::DeoptMode mode); |
253 void DeoptimizeIf(Condition condition, | 252 void DeoptimizeIf(Condition condition, |
254 LEnvironment* environment, | 253 LEnvironment* environment, |
255 Deoptimizer::BailoutType bailout_type, | 254 Deoptimizer::BailoutType bailout_type, |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 LCodeGen* codegen_; | 497 LCodeGen* codegen_; |
499 Label entry_; | 498 Label entry_; |
500 Label exit_; | 499 Label exit_; |
501 Label* external_exit_; | 500 Label* external_exit_; |
502 int instruction_index_; | 501 int instruction_index_; |
503 }; | 502 }; |
504 | 503 |
505 } } // namespace v8::internal | 504 } } // namespace v8::internal |
506 | 505 |
507 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 506 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
OLD | NEW |