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

Side by Side Diff: src/s390/code-stubs-s390.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/ppc/code-stubs-ppc.cc ('k') | src/s390/code-stubs-s390.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_S390_CODE_STUBS_S390_H_ 5 #ifndef V8_S390_CODE_STUBS_S390_H_
6 #define V8_S390_CODE_STUBS_S390_H_ 6 #define V8_S390_CODE_STUBS_S390_H_
7 7
8 #include "src/s390/frames-s390.h" 8 #include "src/s390/frames-s390.h"
9 9
10 namespace v8 { 10 namespace v8 {
11 namespace internal { 11 namespace internal {
12 12
13 void ArrayNativeCode(MacroAssembler* masm, Label* call_generic_code); 13 void ArrayNativeCode(MacroAssembler* masm, Label* call_generic_code);
14 14
15 class StringHelper : public AllStatic { 15 class StringHelper : public AllStatic {
16 public: 16 public:
17 // Generate code for copying a large number of characters. This function
18 // is allowed to spend extra time setting up conditions to make copying
19 // faster. Copying of overlapping regions is not supported.
20 // Dest register ends at the position after the last character written.
21 static void GenerateCopyCharacters(MacroAssembler* masm, Register dest,
22 Register src, Register count,
23 Register scratch,
24 String::Encoding encoding);
25
26 // Compares two flat one-byte strings and returns result in r0. 17 // Compares two flat one-byte strings and returns result in r0.
27 static void GenerateCompareFlatOneByteStrings(MacroAssembler* masm, 18 static void GenerateCompareFlatOneByteStrings(MacroAssembler* masm,
28 Register left, Register right, 19 Register left, Register right,
29 Register scratch1, 20 Register scratch1,
30 Register scratch2, 21 Register scratch2,
31 Register scratch3); 22 Register scratch3);
32 23
33 // Compares two flat one-byte strings for equality and returns result in r0. 24 // Compares two flat one-byte strings for equality and returns result in r0.
34 static void GenerateFlatOneByteStringEquals(MacroAssembler* masm, 25 static void GenerateFlatOneByteStringEquals(MacroAssembler* masm,
35 Register left, Register right, 26 Register left, Register right,
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 static void LoadNumber(MacroAssembler* masm, Register object, 449 static void LoadNumber(MacroAssembler* masm, Register object,
459 DoubleRegister dst, Register heap_number_map, 450 DoubleRegister dst, Register heap_number_map,
460 Register scratch1, Register scratch2, 451 Register scratch1, Register scratch2,
461 Label* not_number); 452 Label* not_number);
462 }; 453 };
463 454
464 } // namespace internal 455 } // namespace internal
465 } // namespace v8 456 } // namespace v8
466 457
467 #endif // V8_S390_CODE_STUBS_S390_H_ 458 #endif // V8_S390_CODE_STUBS_S390_H_
OLDNEW
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | src/s390/code-stubs-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698