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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 | 257 |
258 // Emits optimized code for %_IsObject(x). Preserves input register. | 258 // Emits optimized code for %_IsObject(x). Preserves input register. |
259 // Returns the condition on which a final split to | 259 // Returns the condition on which a final split to |
260 // true and false label should be made, to optimize fallthrough. | 260 // true and false label should be made, to optimize fallthrough. |
261 Condition EmitIsObject(Register input, | 261 Condition EmitIsObject(Register input, |
262 Register temp1, | 262 Register temp1, |
263 Register temp2, | 263 Register temp2, |
264 Label* is_not_object, | 264 Label* is_not_object, |
265 Label* is_object); | 265 Label* is_object); |
266 | 266 |
| 267 // Emits optimized code for %_IsConstructCall(). |
| 268 // Caller should branch on equal condition. |
| 269 void EmitIsConstructCall(Register temp1, Register temp2); |
| 270 |
267 LChunk* const chunk_; | 271 LChunk* const chunk_; |
268 MacroAssembler* const masm_; | 272 MacroAssembler* const masm_; |
269 CompilationInfo* const info_; | 273 CompilationInfo* const info_; |
270 | 274 |
271 int current_block_; | 275 int current_block_; |
272 int current_instruction_; | 276 int current_instruction_; |
273 const ZoneList<LInstruction*>* instructions_; | 277 const ZoneList<LInstruction*>* instructions_; |
274 ZoneList<LEnvironment*> deoptimizations_; | 278 ZoneList<LEnvironment*> deoptimizations_; |
275 ZoneList<Handle<Object> > deoptimization_literals_; | 279 ZoneList<Handle<Object> > deoptimization_literals_; |
276 int inlined_function_count_; | 280 int inlined_function_count_; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 private: | 319 private: |
316 LCodeGen* codegen_; | 320 LCodeGen* codegen_; |
317 Label entry_; | 321 Label entry_; |
318 Label exit_; | 322 Label exit_; |
319 Label* external_exit_; | 323 Label* external_exit_; |
320 }; | 324 }; |
321 | 325 |
322 } } // namespace v8::internal | 326 } } // namespace v8::internal |
323 | 327 |
324 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 328 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |