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