| 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 LInstruction* instr); | 227 LInstruction* instr); |
| 228 | 228 |
| 229 enum RDIState { | 229 enum RDIState { |
| 230 RDI_UNINITIALIZED, | 230 RDI_UNINITIALIZED, |
| 231 RDI_CONTAINS_TARGET | 231 RDI_CONTAINS_TARGET |
| 232 }; | 232 }; |
| 233 | 233 |
| 234 // Generate a direct call to a known function. Expects the function | 234 // Generate a direct call to a known function. Expects the function |
| 235 // to be in rdi. | 235 // to be in rdi. |
| 236 void CallKnownFunction(Handle<JSFunction> function, | 236 void CallKnownFunction(Handle<JSFunction> function, |
| 237 int formal_parameter_count, |
| 237 int arity, | 238 int arity, |
| 238 LInstruction* instr, | 239 LInstruction* instr, |
| 239 CallKind call_kind, | 240 CallKind call_kind, |
| 240 RDIState rdi_state); | 241 RDIState rdi_state); |
| 241 | 242 |
| 242 | 243 |
| 243 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 244 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
| 244 SafepointMode safepoint_mode, | 245 SafepointMode safepoint_mode, |
| 245 int argc); | 246 int argc); |
| 246 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 247 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 LCodeGen* codegen_; | 442 LCodeGen* codegen_; |
| 442 Label entry_; | 443 Label entry_; |
| 443 Label exit_; | 444 Label exit_; |
| 444 Label* external_exit_; | 445 Label* external_exit_; |
| 445 int instruction_index_; | 446 int instruction_index_; |
| 446 }; | 447 }; |
| 447 | 448 |
| 448 } } // namespace v8::internal | 449 } } // namespace v8::internal |
| 449 | 450 |
| 450 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 451 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |