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 916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
927 Label* fail); | 927 Label* fail); |
928 | 928 |
929 // Check if a map for a JSObject indicates that the object has fast smi only | 929 // Check if a map for a JSObject indicates that the object has fast smi only |
930 // elements. Jump to the specified label if it does not. | 930 // elements. Jump to the specified label if it does not. |
931 void CheckFastSmiOnlyElements(Register map, | 931 void CheckFastSmiOnlyElements(Register map, |
932 Register scratch, | 932 Register scratch, |
933 Label* fail); | 933 Label* fail); |
934 | 934 |
935 // Check to see if maybe_number can be stored as a double in | 935 // Check to see if maybe_number can be stored as a double in |
936 // FastDoubleElements. If it can, store it at the index specified by key in | 936 // FastDoubleElements. If it can, store it at the index specified by key in |
937 // the FastDoubleElements array elements, otherwise jump to fail. | 937 // the FastDoubleElements array elements. Otherwise jump to fail, in which |
| 938 // case scratch2, scratch3 and scratch4 are unmodified. |
938 void StoreNumberToDoubleElements(Register value_reg, | 939 void StoreNumberToDoubleElements(Register value_reg, |
939 Register key_reg, | 940 Register key_reg, |
940 Register receiver_reg, | 941 Register receiver_reg, |
941 Register elements_reg, | 942 Register elements_reg, |
942 Register scratch1, | 943 Register scratch1, |
943 Register scratch2, | 944 Register scratch2, |
944 Register scratch3, | 945 Register scratch3, |
945 Register scratch4, | 946 Register scratch4, |
946 Label* fail); | 947 Label* fail); |
947 | 948 |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1474 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1475 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1475 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1476 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1476 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1477 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1477 #else | 1478 #else |
1478 #define ACCESS_MASM(masm) masm-> | 1479 #define ACCESS_MASM(masm) masm-> |
1479 #endif | 1480 #endif |
1480 | 1481 |
1481 } } // namespace v8::internal | 1482 } } // namespace v8::internal |
1482 | 1483 |
1483 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1484 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |