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 877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
888 Label::Distance distance = Label::kFar); | 888 Label::Distance distance = Label::kFar); |
889 | 889 |
890 // Check to see if maybe_number can be stored as a double in | 890 // Check to see if maybe_number can be stored as a double in |
891 // FastDoubleElements. If it can, store it at the index specified by index in | 891 // FastDoubleElements. If it can, store it at the index specified by index in |
892 // the FastDoubleElements array elements, otherwise jump to fail. Note that | 892 // the FastDoubleElements array elements, otherwise jump to fail. Note that |
893 // index must not be smi-tagged. | 893 // index must not be smi-tagged. |
894 void StoreNumberToDoubleElements(Register maybe_number, | 894 void StoreNumberToDoubleElements(Register maybe_number, |
895 Register elements, | 895 Register elements, |
896 Register index, | 896 Register index, |
897 XMMRegister xmm_scratch, | 897 XMMRegister xmm_scratch, |
898 Label* fail); | 898 Label* fail, |
| 899 int elements_offset = 0); |
899 | 900 |
900 // Compare an object's map with the specified map and its transitioned | 901 // Compare an object's map with the specified map and its transitioned |
901 // elements maps if mode is ALLOW_ELEMENT_TRANSITION_MAPS. FLAGS are set with | 902 // elements maps if mode is ALLOW_ELEMENT_TRANSITION_MAPS. FLAGS are set with |
902 // result of map compare. If multiple map compares are required, the compare | 903 // result of map compare. If multiple map compares are required, the compare |
903 // sequences branches to early_success. | 904 // sequences branches to early_success. |
904 void CompareMap(Register obj, | 905 void CompareMap(Register obj, |
905 Handle<Map> map, | 906 Handle<Map> map, |
906 Label* early_success, | 907 Label* early_success, |
907 CompareMapMode mode = REQUIRE_EXACT_MAP); | 908 CompareMapMode mode = REQUIRE_EXACT_MAP); |
908 | 909 |
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1496 masm->popfd(); \ | 1497 masm->popfd(); \ |
1497 } \ | 1498 } \ |
1498 masm-> | 1499 masm-> |
1499 #else | 1500 #else |
1500 #define ACCESS_MASM(masm) masm-> | 1501 #define ACCESS_MASM(masm) masm-> |
1501 #endif | 1502 #endif |
1502 | 1503 |
1503 } } // namespace v8::internal | 1504 } } // namespace v8::internal |
1504 | 1505 |
1505 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1506 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |