| 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 Handle<String> type_name); | 273 Handle<String> type_name); |
| 274 | 274 |
| 275 // Emits optimized code for %_IsObject(x). Preserves input register. | 275 // Emits optimized code for %_IsObject(x). Preserves input register. |
| 276 // Returns the condition on which a final split to | 276 // Returns the condition on which a final split to |
| 277 // true and false label should be made, to optimize fallthrough. | 277 // true and false label should be made, to optimize fallthrough. |
| 278 Condition EmitIsObject(Register input, | 278 Condition EmitIsObject(Register input, |
| 279 Register temp1, | 279 Register temp1, |
| 280 Label* is_not_object, | 280 Label* is_not_object, |
| 281 Label* is_object); | 281 Label* is_object); |
| 282 | 282 |
| 283 // Emits optimized code for %_IsString(x). Preserves input register. |
| 284 // Returns the condition on which a final split to |
| 285 // true and false label should be made, to optimize fallthrough. |
| 286 Condition EmitIsString(Register input, |
| 287 Register temp1, |
| 288 Label* is_not_string); |
| 289 |
| 283 // Emits optimized code for %_IsConstructCall(). | 290 // Emits optimized code for %_IsConstructCall(). |
| 284 // Caller should branch on equal condition. | 291 // Caller should branch on equal condition. |
| 285 void EmitIsConstructCall(Register temp); | 292 void EmitIsConstructCall(Register temp); |
| 286 | 293 |
| 287 void EmitLoadFieldOrConstantFunction(Register result, | 294 void EmitLoadFieldOrConstantFunction(Register result, |
| 288 Register object, | 295 Register object, |
| 289 Handle<Map> type, | 296 Handle<Map> type, |
| 290 Handle<String> name); | 297 Handle<String> name); |
| 291 void EnsureSpaceForLazyDeopt(); | 298 void EnsureSpaceForLazyDeopt(); |
| 292 | 299 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 LCodeGen* codegen_; | 376 LCodeGen* codegen_; |
| 370 Label entry_; | 377 Label entry_; |
| 371 Label exit_; | 378 Label exit_; |
| 372 Label* external_exit_; | 379 Label* external_exit_; |
| 373 int instruction_index_; | 380 int instruction_index_; |
| 374 }; | 381 }; |
| 375 | 382 |
| 376 } } // namespace v8::internal | 383 } } // namespace v8::internal |
| 377 | 384 |
| 378 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 385 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
| OLD | NEW |