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

Side by Side Diff: src/x64/code-stubs-x64.h

Issue 12210083: Renamed "symbols" to "internalized strings" throughout the code base, (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed Yang's comments Created 7 years, 10 months 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 | « src/x64/builtins-x64.cc ('k') | src/x64/code-stubs-x64.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // Generate code for copying characters using the rep movs instruction. 165 // Generate code for copying characters using the rep movs instruction.
166 // Copies rcx characters from rsi to rdi. Copying of overlapping regions is 166 // Copies rcx characters from rsi to rdi. Copying of overlapping regions is
167 // not supported. 167 // not supported.
168 static void GenerateCopyCharactersREP(MacroAssembler* masm, 168 static void GenerateCopyCharactersREP(MacroAssembler* masm,
169 Register dest, // Must be rdi. 169 Register dest, // Must be rdi.
170 Register src, // Must be rsi. 170 Register src, // Must be rsi.
171 Register count, // Must be rcx. 171 Register count, // Must be rcx.
172 bool ascii); 172 bool ascii);
173 173
174 174
175 // Probe the symbol table for a two character string. If the string is 175 // Probe the string table for a two character string. If the string is
176 // not found by probing a jump to the label not_found is performed. This jump 176 // not found by probing a jump to the label not_found is performed. This jump
177 // does not guarantee that the string is not in the symbol table. If the 177 // does not guarantee that the string is not in the string table. If the
178 // string is found the code falls through with the string in register rax. 178 // string is found the code falls through with the string in register rax.
179 static void GenerateTwoCharacterSymbolTableProbe(MacroAssembler* masm, 179 static void GenerateTwoCharacterStringTableProbe(MacroAssembler* masm,
180 Register c1, 180 Register c1,
181 Register c2, 181 Register c2,
182 Register scratch1, 182 Register scratch1,
183 Register scratch2, 183 Register scratch2,
184 Register scratch3, 184 Register scratch3,
185 Register scratch4, 185 Register scratch4,
186 Label* not_found); 186 Label* not_found);
187 187
188 // Generate string hash. 188 // Generate string hash.
189 static void GenerateHashInit(MacroAssembler* masm, 189 static void GenerateHashInit(MacroAssembler* masm,
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 RememberedSetAction remembered_set_action_; 614 RememberedSetAction remembered_set_action_;
615 SaveFPRegsMode save_fp_regs_mode_; 615 SaveFPRegsMode save_fp_regs_mode_;
616 Label slow_; 616 Label slow_;
617 RegisterAllocation regs_; 617 RegisterAllocation regs_;
618 }; 618 };
619 619
620 620
621 } } // namespace v8::internal 621 } } // namespace v8::internal
622 622
623 #endif // V8_X64_CODE_STUBS_X64_H_ 623 #endif // V8_X64_CODE_STUBS_X64_H_
OLDNEW
« no previous file with comments | « src/x64/builtins-x64.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698