| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 753 string_check_ = ((flags & NO_STRING_CHECK_IN_STUB) == 0); | 753 string_check_ = ((flags & NO_STRING_CHECK_IN_STUB) == 0); |
| 754 } | 754 } |
| 755 | 755 |
| 756 private: | 756 private: |
| 757 Major MajorKey() { return StringAdd; } | 757 Major MajorKey() { return StringAdd; } |
| 758 int MinorKey() { return string_check_ ? 0 : 1; } | 758 int MinorKey() { return string_check_ ? 0 : 1; } |
| 759 | 759 |
| 760 void Generate(MacroAssembler* masm); | 760 void Generate(MacroAssembler* masm); |
| 761 | 761 |
| 762 void GenerateCopyCharacters(MacroAssembler* masm, | 762 void GenerateCopyCharacters(MacroAssembler* masm, |
| 763 Register desc, | 763 Register desc, |
| 764 Register src, | 764 Register src, |
| 765 Register count, | 765 Register count, |
| 766 Register scratch, | 766 Register scratch, |
| 767 bool ascii); | 767 bool ascii); |
| 768 | 768 |
| 769 // Should the stub check whether arguments are strings? | 769 // Should the stub check whether arguments are strings? |
| 770 bool string_check_; | 770 bool string_check_; |
| 771 }; | 771 }; |
| 772 | 772 |
| 773 | 773 |
| 774 } } // namespace v8::internal | 774 } } // namespace v8::internal |
| 775 | 775 |
| 776 #endif // V8_IA32_CODEGEN_IA32_H_ | 776 #endif // V8_IA32_CODEGEN_IA32_H_ |
| OLD | NEW |