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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 Label* is_not_string); | 288 Label* is_not_string); |
289 | 289 |
290 // Emits optimized code for %_IsConstructCall(). | 290 // Emits optimized code for %_IsConstructCall(). |
291 // Caller should branch on equal condition. | 291 // Caller should branch on equal condition. |
292 void EmitIsConstructCall(Register temp); | 292 void EmitIsConstructCall(Register temp); |
293 | 293 |
294 void EmitLoadFieldOrConstantFunction(Register result, | 294 void EmitLoadFieldOrConstantFunction(Register result, |
295 Register object, | 295 Register object, |
296 Handle<Map> type, | 296 Handle<Map> type, |
297 Handle<String> name); | 297 Handle<String> name); |
| 298 |
| 299 // Emits optimized code to deep-copy the contents of statically known |
| 300 // object graphs (e.g. object literal boilerplate). |
| 301 void EmitDeepCopy(Handle<JSObject> object, |
| 302 Register result, |
| 303 Register source, |
| 304 int* offset); |
| 305 |
298 void EnsureSpaceForLazyDeopt(); | 306 void EnsureSpaceForLazyDeopt(); |
299 | 307 |
300 LChunk* const chunk_; | 308 LChunk* const chunk_; |
301 MacroAssembler* const masm_; | 309 MacroAssembler* const masm_; |
302 CompilationInfo* const info_; | 310 CompilationInfo* const info_; |
303 | 311 |
304 int current_block_; | 312 int current_block_; |
305 int current_instruction_; | 313 int current_instruction_; |
306 const ZoneList<LInstruction*>* instructions_; | 314 const ZoneList<LInstruction*>* instructions_; |
307 ZoneList<LEnvironment*> deoptimizations_; | 315 ZoneList<LEnvironment*> deoptimizations_; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 LCodeGen* codegen_; | 384 LCodeGen* codegen_; |
377 Label entry_; | 385 Label entry_; |
378 Label exit_; | 386 Label exit_; |
379 Label* external_exit_; | 387 Label* external_exit_; |
380 int instruction_index_; | 388 int instruction_index_; |
381 }; | 389 }; |
382 | 390 |
383 } } // namespace v8::internal | 391 } } // namespace v8::internal |
384 | 392 |
385 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 393 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |