| 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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 LInstruction* instr); | 269 LInstruction* instr); |
| 270 | 270 |
| 271 enum R1State { | 271 enum R1State { |
| 272 R1_UNINITIALIZED, | 272 R1_UNINITIALIZED, |
| 273 R1_CONTAINS_TARGET | 273 R1_CONTAINS_TARGET |
| 274 }; | 274 }; |
| 275 | 275 |
| 276 // Generate a direct call to a known function. Expects the function | 276 // Generate a direct call to a known function. Expects the function |
| 277 // to be in r1. | 277 // to be in r1. |
| 278 void CallKnownFunction(Handle<JSFunction> function, | 278 void CallKnownFunction(Handle<JSFunction> function, |
| 279 int formal_parameter_count, |
| 279 int arity, | 280 int arity, |
| 280 LInstruction* instr, | 281 LInstruction* instr, |
| 281 CallKind call_kind, | 282 CallKind call_kind, |
| 282 R1State r1_state); | 283 R1State r1_state); |
| 283 | 284 |
| 284 void LoadHeapObject(Register result, Handle<HeapObject> object); | 285 void LoadHeapObject(Register result, Handle<HeapObject> object); |
| 285 | 286 |
| 286 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 287 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
| 287 SafepointMode safepoint_mode); | 288 SafepointMode safepoint_mode); |
| 288 | 289 |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 LCodeGen* codegen_; | 510 LCodeGen* codegen_; |
| 510 Label entry_; | 511 Label entry_; |
| 511 Label exit_; | 512 Label exit_; |
| 512 Label* external_exit_; | 513 Label* external_exit_; |
| 513 int instruction_index_; | 514 int instruction_index_; |
| 514 }; | 515 }; |
| 515 | 516 |
| 516 } } // namespace v8::internal | 517 } } // namespace v8::internal |
| 517 | 518 |
| 518 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 519 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |