| 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 } | 202 } |
| 203 | 203 |
| 204 void CallRuntimeFromDeferred(Runtime::FunctionId id, | 204 void CallRuntimeFromDeferred(Runtime::FunctionId id, |
| 205 int argc, | 205 int argc, |
| 206 LInstruction* instr); | 206 LInstruction* instr); |
| 207 | 207 |
| 208 // Generate a direct call to a known function. Expects the function | 208 // Generate a direct call to a known function. Expects the function |
| 209 // to be in edi. | 209 // to be in edi. |
| 210 void CallKnownFunction(Handle<JSFunction> function, | 210 void CallKnownFunction(Handle<JSFunction> function, |
| 211 int arity, | 211 int arity, |
| 212 LInstruction* instr); | 212 LInstruction* instr, |
| 213 CallKind call_kind); |
| 213 | 214 |
| 214 void LoadHeapObject(Register result, Handle<HeapObject> object); | 215 void LoadHeapObject(Register result, Handle<HeapObject> object); |
| 215 | 216 |
| 216 void RegisterLazyDeoptimization(LInstruction* instr, | 217 void RegisterLazyDeoptimization(LInstruction* instr, |
| 217 SafepointMode safepoint_mode); | 218 SafepointMode safepoint_mode); |
| 218 | 219 |
| 219 void RegisterEnvironmentForDeoptimization(LEnvironment* environment); | 220 void RegisterEnvironmentForDeoptimization(LEnvironment* environment); |
| 220 void DeoptimizeIf(Condition cc, LEnvironment* environment); | 221 void DeoptimizeIf(Condition cc, LEnvironment* environment); |
| 221 | 222 |
| 222 void AddToTranslation(Translation* translation, | 223 void AddToTranslation(Translation* translation, |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 private: | 394 private: |
| 394 LCodeGen* codegen_; | 395 LCodeGen* codegen_; |
| 395 Label entry_; | 396 Label entry_; |
| 396 Label exit_; | 397 Label exit_; |
| 397 Label* external_exit_; | 398 Label* external_exit_; |
| 398 }; | 399 }; |
| 399 | 400 |
| 400 } } // namespace v8::internal | 401 } } // namespace v8::internal |
| 401 | 402 |
| 402 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 403 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |