| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 LInstruction* instr); | 311 LInstruction* instr); |
| 312 | 312 |
| 313 // Generate a direct call to a known function. | 313 // Generate a direct call to a known function. |
| 314 // If the function is already loaded into x1 by the caller, function_reg may | 314 // If the function is already loaded into x1 by the caller, function_reg may |
| 315 // be set to x1. Otherwise, it must be NoReg, and CallKnownFunction will | 315 // be set to x1. Otherwise, it must be NoReg, and CallKnownFunction will |
| 316 // automatically load it. | 316 // automatically load it. |
| 317 void CallKnownFunction(Handle<JSFunction> function, | 317 void CallKnownFunction(Handle<JSFunction> function, |
| 318 int formal_parameter_count, | 318 int formal_parameter_count, |
| 319 int arity, | 319 int arity, |
| 320 LInstruction* instr, | 320 LInstruction* instr, |
| 321 CallKind call_kind, | |
| 322 Register function_reg = NoReg); | 321 Register function_reg = NoReg); |
| 323 | 322 |
| 324 // Support for recording safepoint and position information. | 323 // Support for recording safepoint and position information. |
| 325 void RecordAndWritePosition(int position) V8_OVERRIDE; | 324 void RecordAndWritePosition(int position) V8_OVERRIDE; |
| 326 void RecordSafepoint(LPointerMap* pointers, | 325 void RecordSafepoint(LPointerMap* pointers, |
| 327 Safepoint::Kind kind, | 326 Safepoint::Kind kind, |
| 328 int arguments, | 327 int arguments, |
| 329 Safepoint::DeoptMode mode); | 328 Safepoint::DeoptMode mode); |
| 330 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); | 329 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); |
| 331 void RecordSafepoint(Safepoint::DeoptMode mode); | 330 void RecordSafepoint(Safepoint::DeoptMode mode); |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 | 459 |
| 461 protected: | 460 protected: |
| 462 MacroAssembler* masm() const { return codegen_->masm(); } | 461 MacroAssembler* masm() const { return codegen_->masm(); } |
| 463 | 462 |
| 464 LCodeGen* codegen_; | 463 LCodeGen* codegen_; |
| 465 }; | 464 }; |
| 466 | 465 |
| 467 } } // namespace v8::internal | 466 } } // namespace v8::internal |
| 468 | 467 |
| 469 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_ | 468 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_ |
| OLD | NEW |