OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 int argc, | 191 int argc, |
192 LInstruction* instr); | 192 LInstruction* instr); |
193 | 193 |
194 // Generate a direct call to a known function. Expects the function | 194 // Generate a direct call to a known function. Expects the function |
195 // to be in rdi. | 195 // to be in rdi. |
196 void CallKnownFunction(Handle<JSFunction> function, | 196 void CallKnownFunction(Handle<JSFunction> function, |
197 int arity, | 197 int arity, |
198 LInstruction* instr, | 198 LInstruction* instr, |
199 CallKind call_kind); | 199 CallKind call_kind); |
200 | 200 |
201 void LoadHeapObject(Register result, Handle<HeapObject> object); | |
202 | 201 |
203 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 202 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
204 SafepointMode safepoint_mode, | 203 SafepointMode safepoint_mode, |
205 int argc); | 204 int argc); |
206 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 205 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
207 Safepoint::DeoptMode mode); | 206 Safepoint::DeoptMode mode); |
208 void DeoptimizeIf(Condition cc, LEnvironment* environment); | 207 void DeoptimizeIf(Condition cc, LEnvironment* environment); |
209 | 208 |
210 void AddToTranslation(Translation* translation, | 209 void AddToTranslation(Translation* translation, |
211 LOperand* op, | 210 LOperand* op, |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 LCodeGen* codegen_; | 385 LCodeGen* codegen_; |
387 Label entry_; | 386 Label entry_; |
388 Label exit_; | 387 Label exit_; |
389 Label* external_exit_; | 388 Label* external_exit_; |
390 int instruction_index_; | 389 int instruction_index_; |
391 }; | 390 }; |
392 | 391 |
393 } } // namespace v8::internal | 392 } } // namespace v8::internal |
394 | 393 |
395 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 394 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |