| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 Runtime::Function* function = Runtime::FunctionForId(id); | 143 Runtime::Function* function = Runtime::FunctionForId(id); |
| 144 CallRuntime(function, num_arguments, instr); | 144 CallRuntime(function, num_arguments, instr); |
| 145 } | 145 } |
| 146 | 146 |
| 147 // Generate a direct call to a known function. Expects the function | 147 // Generate a direct call to a known function. Expects the function |
| 148 // to be in edi. | 148 // to be in edi. |
| 149 void CallKnownFunction(Handle<JSFunction> function, | 149 void CallKnownFunction(Handle<JSFunction> function, |
| 150 int arity, | 150 int arity, |
| 151 LInstruction* instr); | 151 LInstruction* instr); |
| 152 | 152 |
| 153 void LoadPrototype(Register result, Handle<JSObject> prototype); | 153 void LoadHeapObject(Register result, Handle<HeapObject> object); |
| 154 | 154 |
| 155 void RegisterLazyDeoptimization(LInstruction* instr); | 155 void RegisterLazyDeoptimization(LInstruction* instr); |
| 156 void RegisterEnvironmentForDeoptimization(LEnvironment* environment); | 156 void RegisterEnvironmentForDeoptimization(LEnvironment* environment); |
| 157 void DeoptimizeIf(Condition cc, LEnvironment* environment); | 157 void DeoptimizeIf(Condition cc, LEnvironment* environment); |
| 158 | 158 |
| 159 void AddToTranslation(Translation* translation, | 159 void AddToTranslation(Translation* translation, |
| 160 LOperand* op, | 160 LOperand* op, |
| 161 bool is_tagged); | 161 bool is_tagged); |
| 162 void PopulateDeoptimizationData(Handle<Code> code); | 162 void PopulateDeoptimizationData(Handle<Code> code); |
| 163 int DefineDeoptimizationLiteral(Handle<Object> literal); | 163 int DefineDeoptimizationLiteral(Handle<Object> literal); |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 private: | 258 private: |
| 259 LCodeGen* codegen_; | 259 LCodeGen* codegen_; |
| 260 Label entry_; | 260 Label entry_; |
| 261 Label exit_; | 261 Label exit_; |
| 262 Label* external_exit_; | 262 Label* external_exit_; |
| 263 }; | 263 }; |
| 264 | 264 |
| 265 } } // namespace v8::internal | 265 } } // namespace v8::internal |
| 266 | 266 |
| 267 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 267 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
| OLD | NEW |