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

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

Issue 2600763002: [stubs] Remove dead string copying code (Closed)
Patch Set: [stubs] Remove dead string copying code Created 3 years, 12 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
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | src/x87/code-stubs-x87.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_X87_CODE_STUBS_X87_H_ 5 #ifndef V8_X87_CODE_STUBS_X87_H_
6 #define V8_X87_CODE_STUBS_X87_H_ 6 #define V8_X87_CODE_STUBS_X87_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
11 11
12 void ArrayNativeCode(MacroAssembler* masm, 12 void ArrayNativeCode(MacroAssembler* masm,
13 bool construct_call, 13 bool construct_call,
14 Label* call_generic_code); 14 Label* call_generic_code);
15 15
16 16
17 class StringHelper : public AllStatic { 17 class StringHelper : public AllStatic {
18 public: 18 public:
19 // Generate code for copying characters using the rep movs instruction.
20 // Copies ecx characters from esi to edi. Copying of overlapping regions is
21 // not supported.
22 static void GenerateCopyCharacters(MacroAssembler* masm,
23 Register dest,
24 Register src,
25 Register count,
26 Register scratch,
27 String::Encoding encoding);
28
29 // Compares two flat one byte strings and returns result in eax. 19 // Compares two flat one byte strings and returns result in eax.
30 static void GenerateCompareFlatOneByteStrings(MacroAssembler* masm, 20 static void GenerateCompareFlatOneByteStrings(MacroAssembler* masm,
31 Register left, Register right, 21 Register left, Register right,
32 Register scratch1, 22 Register scratch1,
33 Register scratch2, 23 Register scratch2,
34 Register scratch3); 24 Register scratch3);
35 25
36 // Compares two flat one byte strings for equality and returns result in eax. 26 // Compares two flat one byte strings for equality and returns result in eax.
37 static void GenerateFlatOneByteStringEquals(MacroAssembler* masm, 27 static void GenerateFlatOneByteStringEquals(MacroAssembler* masm,
38 Register left, Register right, 28 Register left, Register right,
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 RegisterAllocation regs_; 351 RegisterAllocation regs_;
362 352
363 DISALLOW_COPY_AND_ASSIGN(RecordWriteStub); 353 DISALLOW_COPY_AND_ASSIGN(RecordWriteStub);
364 }; 354 };
365 355
366 356
367 } // namespace internal 357 } // namespace internal
368 } // namespace v8 358 } // namespace v8
369 359
370 #endif // V8_X87_CODE_STUBS_X87_H_ 360 #endif // V8_X87_CODE_STUBS_X87_H_
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | src/x87/code-stubs-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698