| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 932 // the label not_found with only the content of register object unchanged. | 932 // the label not_found with only the content of register object unchanged. |
| 933 static void GenerateLookupNumberStringCache(MacroAssembler* masm, | 933 static void GenerateLookupNumberStringCache(MacroAssembler* masm, |
| 934 Register object, | 934 Register object, |
| 935 Register result, | 935 Register result, |
| 936 Register scratch1, | 936 Register scratch1, |
| 937 Register scratch2, | 937 Register scratch2, |
| 938 bool object_is_smi, | 938 bool object_is_smi, |
| 939 Label* not_found); | 939 Label* not_found); |
| 940 | 940 |
| 941 private: | 941 private: |
| 942 static void GenerateConvertHashCodeToIndex(MacroAssembler* masm, |
| 943 Register hash, |
| 944 Register mask); |
| 945 |
| 942 Major MajorKey() { return NumberToString; } | 946 Major MajorKey() { return NumberToString; } |
| 943 int MinorKey() { return 0; } | 947 int MinorKey() { return 0; } |
| 944 | 948 |
| 945 void Generate(MacroAssembler* masm); | 949 void Generate(MacroAssembler* masm); |
| 946 | 950 |
| 947 const char* GetName() { return "NumberToStringStub"; } | 951 const char* GetName() { return "NumberToStringStub"; } |
| 948 | 952 |
| 949 #ifdef DEBUG | 953 #ifdef DEBUG |
| 950 void Print() { | 954 void Print() { |
| 951 PrintF("NumberToStringStub\n"); | 955 PrintF("NumberToStringStub\n"); |
| 952 } | 956 } |
| 953 #endif | 957 #endif |
| 954 }; | 958 }; |
| 955 | 959 |
| 956 | 960 |
| 957 } } // namespace v8::internal | 961 } } // namespace v8::internal |
| 958 | 962 |
| 959 #endif // V8_X64_CODEGEN_X64_H_ | 963 #endif // V8_X64_CODEGEN_X64_H_ |
| OLD | NEW |