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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 Condition EmitIsObject(Register input, | 342 Condition EmitIsObject(Register input, |
343 Register temp1, | 343 Register temp1, |
344 Label* is_not_object, | 344 Label* is_not_object, |
345 Label* is_object); | 345 Label* is_object); |
346 | 346 |
347 // Emits optimized code for %_IsString(x). Preserves input register. | 347 // Emits optimized code for %_IsString(x). Preserves input register. |
348 // Returns the condition on which a final split to | 348 // Returns the condition on which a final split to |
349 // true and false label should be made, to optimize fallthrough. | 349 // true and false label should be made, to optimize fallthrough. |
350 Condition EmitIsString(Register input, | 350 Condition EmitIsString(Register input, |
351 Register temp1, | 351 Register temp1, |
352 Label* is_not_string); | 352 Label* is_not_string, |
| 353 SmiCheck check_needed); |
353 | 354 |
354 // Emits optimized code for %_IsConstructCall(). | 355 // Emits optimized code for %_IsConstructCall(). |
355 // Caller should branch on equal condition. | 356 // Caller should branch on equal condition. |
356 void EmitIsConstructCall(Register temp1, Register temp2); | 357 void EmitIsConstructCall(Register temp1, Register temp2); |
357 | 358 |
358 void EmitLoadFieldOrConstantFunction(Register result, | 359 void EmitLoadFieldOrConstantFunction(Register result, |
359 Register object, | 360 Register object, |
360 Handle<Map> type, | 361 Handle<Map> type, |
361 Handle<String> name, | 362 Handle<String> name, |
362 LEnvironment* env); | 363 LEnvironment* env); |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 LCodeGen* codegen_; | 492 LCodeGen* codegen_; |
492 Label entry_; | 493 Label entry_; |
493 Label exit_; | 494 Label exit_; |
494 Label* external_exit_; | 495 Label* external_exit_; |
495 int instruction_index_; | 496 int instruction_index_; |
496 }; | 497 }; |
497 | 498 |
498 } } // namespace v8::internal | 499 } } // namespace v8::internal |
499 | 500 |
500 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 501 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |