OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 Register object, | 343 Register object, |
344 Handle<Map> type, | 344 Handle<Map> type, |
345 Handle<String> name, | 345 Handle<String> name, |
346 LEnvironment* env); | 346 LEnvironment* env); |
347 | 347 |
348 // Emits optimized code to deep-copy the contents of statically known | 348 // Emits optimized code to deep-copy the contents of statically known |
349 // object graphs (e.g. object literal boilerplate). | 349 // object graphs (e.g. object literal boilerplate). |
350 void EmitDeepCopy(Handle<JSObject> object, | 350 void EmitDeepCopy(Handle<JSObject> object, |
351 Register result, | 351 Register result, |
352 Register source, | 352 Register source, |
353 int* offset); | 353 int* offset, |
| 354 AllocationSiteMode mode); |
354 | 355 |
355 void EnsureSpaceForLazyDeopt(); | 356 void EnsureSpaceForLazyDeopt(); |
356 void DoLoadKeyedExternalArray(LLoadKeyed* instr); | 357 void DoLoadKeyedExternalArray(LLoadKeyed* instr); |
357 void DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr); | 358 void DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr); |
358 void DoLoadKeyedFixedArray(LLoadKeyed* instr); | 359 void DoLoadKeyedFixedArray(LLoadKeyed* instr); |
359 void DoStoreKeyedExternalArray(LStoreKeyed* instr); | 360 void DoStoreKeyedExternalArray(LStoreKeyed* instr); |
360 void DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr); | 361 void DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr); |
361 void DoStoreKeyedFixedArray(LStoreKeyed* instr); | 362 void DoStoreKeyedFixedArray(LStoreKeyed* instr); |
362 | 363 |
363 // Emits code for pushing either a tagged constant, a (non-double) | 364 // Emits code for pushing either a tagged constant, a (non-double) |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 LCodeGen* codegen_; | 460 LCodeGen* codegen_; |
460 Label entry_; | 461 Label entry_; |
461 Label exit_; | 462 Label exit_; |
462 Label* external_exit_; | 463 Label* external_exit_; |
463 int instruction_index_; | 464 int instruction_index_; |
464 }; | 465 }; |
465 | 466 |
466 } } // namespace v8::internal | 467 } } // namespace v8::internal |
467 | 468 |
468 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 469 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |