| OLD | NEW |
| 1 // Copyright 2011 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 |
| 11 // with the distribution. | 11 // with the distribution. |
| (...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 783 void StoreNumberToDoubleElements(Register value_reg, | 783 void StoreNumberToDoubleElements(Register value_reg, |
| 784 Register key_reg, | 784 Register key_reg, |
| 785 Register receiver_reg, | 785 Register receiver_reg, |
| 786 Register elements_reg, | 786 Register elements_reg, |
| 787 Register scratch1, | 787 Register scratch1, |
| 788 Register scratch2, | 788 Register scratch2, |
| 789 Register scratch3, | 789 Register scratch3, |
| 790 Register scratch4, | 790 Register scratch4, |
| 791 Label* fail); | 791 Label* fail); |
| 792 | 792 |
| 793 // Check if the map of an object is equal to a specified map (either | 793 // Check if the map of an object is equal to a specified map and branch to |
| 794 // given directly or as an index into the root list) and branch to | 794 // label if not. Skip the smi check if not required (object is known to be a |
| 795 // label if not. Skip the smi check if not required (object is known | 795 // heap object). If mode is ALLOW_ELEMENT_TRANSITION_MAPS, then also match |
| 796 // to be a heap object) | 796 // against maps that are ElementsKind transition maps of the specificed map. |
| 797 void CheckMap(Register obj, | 797 void CheckMap(Register obj, |
| 798 Register scratch, | 798 Register scratch, |
| 799 Handle<Map> map, | 799 Handle<Map> map, |
| 800 Label* fail, | 800 Label* fail, |
| 801 SmiCheckType smi_check_type); | 801 SmiCheckType smi_check_type, |
| 802 MapCheckMode mode = REQUIRE_EXACT_MAP); |
| 802 | 803 |
| 803 | 804 |
| 804 void CheckMap(Register obj, | 805 void CheckMap(Register obj, |
| 805 Register scratch, | 806 Register scratch, |
| 806 Heap::RootListIndex index, | 807 Heap::RootListIndex index, |
| 807 Label* fail, | 808 Label* fail, |
| 808 SmiCheckType smi_check_type); | 809 SmiCheckType smi_check_type); |
| 809 | 810 |
| 810 | 811 |
| 811 // Check if the map of an object is equal to a specified map and branch to a | 812 // Check if the map of an object is equal to a specified map and branch to a |
| (...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1326 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1327 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1327 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1328 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1328 #else | 1329 #else |
| 1329 #define ACCESS_MASM(masm) masm-> | 1330 #define ACCESS_MASM(masm) masm-> |
| 1330 #endif | 1331 #endif |
| 1331 | 1332 |
| 1332 | 1333 |
| 1333 } } // namespace v8::internal | 1334 } } // namespace v8::internal |
| 1334 | 1335 |
| 1335 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1336 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |