| 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 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 909 // FastDoubleElements. If it can, store it at the index specified by index in | 909 // FastDoubleElements. If it can, store it at the index specified by index in |
| 910 // the FastDoubleElements array elements, otherwise jump to fail. Note that | 910 // the FastDoubleElements array elements, otherwise jump to fail. Note that |
| 911 // index must not be smi-tagged. | 911 // index must not be smi-tagged. |
| 912 void StoreNumberToDoubleElements(Register maybe_number, | 912 void StoreNumberToDoubleElements(Register maybe_number, |
| 913 Register elements, | 913 Register elements, |
| 914 Register index, | 914 Register index, |
| 915 XMMRegister xmm_scratch, | 915 XMMRegister xmm_scratch, |
| 916 Label* fail, | 916 Label* fail, |
| 917 int elements_offset = 0); | 917 int elements_offset = 0); |
| 918 | 918 |
| 919 // Compare an object's map with the specified map and its transitioned | 919 // Compare an object's map with the specified map. |
| 920 // elements maps if mode is ALLOW_ELEMENT_TRANSITION_MAPS. FLAGS are set with | 920 void CompareMap(Register obj, Handle<Map> map); |
| 921 // result of map compare. If multiple map compares are required, the compare | |
| 922 // sequences branches to early_success. | |
| 923 void CompareMap(Register obj, | |
| 924 Handle<Map> map, | |
| 925 Label* early_success); | |
| 926 | 921 |
| 927 // Check if the map of an object is equal to a specified map and branch to | 922 // Check if the map of an object is equal to a specified map and branch to |
| 928 // label if not. Skip the smi check if not required (object is known to be a | 923 // label if not. Skip the smi check if not required (object is known to be a |
| 929 // heap object). If mode is ALLOW_ELEMENT_TRANSITION_MAPS, then also match | 924 // heap object). If mode is ALLOW_ELEMENT_TRANSITION_MAPS, then also match |
| 930 // against maps that are ElementsKind transition maps of the specified map. | 925 // against maps that are ElementsKind transition maps of the specified map. |
| 931 void CheckMap(Register obj, | 926 void CheckMap(Register obj, |
| 932 Handle<Map> map, | 927 Handle<Map> map, |
| 933 Label* fail, | 928 Label* fail, |
| 934 SmiCheckType smi_check_type); | 929 SmiCheckType smi_check_type); |
| 935 | 930 |
| (...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1588 masm->popfq(); \ | 1583 masm->popfq(); \ |
| 1589 } \ | 1584 } \ |
| 1590 masm-> | 1585 masm-> |
| 1591 #else | 1586 #else |
| 1592 #define ACCESS_MASM(masm) masm-> | 1587 #define ACCESS_MASM(masm) masm-> |
| 1593 #endif | 1588 #endif |
| 1594 | 1589 |
| 1595 } } // namespace v8::internal | 1590 } } // namespace v8::internal |
| 1596 | 1591 |
| 1597 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1592 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |