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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 // true and false label should be made, to optimize fallthrough. | 362 // true and false label should be made, to optimize fallthrough. |
363 Condition EmitIsString(Register input, | 363 Condition EmitIsString(Register input, |
364 Register temp1, | 364 Register temp1, |
365 Label* is_not_string, | 365 Label* is_not_string, |
366 SmiCheck check_needed); | 366 SmiCheck check_needed); |
367 | 367 |
368 // Emits optimized code for %_IsConstructCall(). | 368 // Emits optimized code for %_IsConstructCall(). |
369 // Caller should branch on equal condition. | 369 // Caller should branch on equal condition. |
370 void EmitIsConstructCall(Register temp); | 370 void EmitIsConstructCall(Register temp); |
371 | 371 |
372 void EmitLoadFieldOrConstant(Register result, | |
373 Register object, | |
374 Handle<Map> type, | |
375 Handle<String> name, | |
376 LEnvironment* env); | |
377 | |
378 // Emits optimized code to deep-copy the contents of statically known | 372 // Emits optimized code to deep-copy the contents of statically known |
379 // object graphs (e.g. object literal boilerplate). | 373 // object graphs (e.g. object literal boilerplate). |
380 void EmitDeepCopy(Handle<JSObject> object, | 374 void EmitDeepCopy(Handle<JSObject> object, |
381 Register result, | 375 Register result, |
382 Register source, | 376 Register source, |
383 int* offset, | 377 int* offset, |
384 AllocationSiteMode mode); | 378 AllocationSiteMode mode); |
385 | 379 |
386 void EnsureSpaceForLazyDeopt(); | 380 void EnsureSpaceForLazyDeopt(); |
387 void DoLoadKeyedExternalArray(LLoadKeyed* instr); | 381 void DoLoadKeyedExternalArray(LLoadKeyed* instr); |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 LCodeGen* codegen_; | 495 LCodeGen* codegen_; |
502 Label entry_; | 496 Label entry_; |
503 Label exit_; | 497 Label exit_; |
504 Label* external_exit_; | 498 Label* external_exit_; |
505 int instruction_index_; | 499 int instruction_index_; |
506 }; | 500 }; |
507 | 501 |
508 } } // namespace v8::internal | 502 } } // namespace v8::internal |
509 | 503 |
510 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 504 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |