Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: src/ia32/codegen-ia32.h

Issue 460109: Perform string add in generated code on X64 platform... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698