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

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

Issue 2600763002: [stubs] Remove dead string copying code (Closed)
Patch Set: [stubs] Remove dead string copying code Created 3 years, 11 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 | « no previous file | src/arm/code-stubs-arm.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_ARM_CODE_STUBS_ARM_H_ 5 #ifndef V8_ARM_CODE_STUBS_ARM_H_
6 #define V8_ARM_CODE_STUBS_ARM_H_ 6 #define V8_ARM_CODE_STUBS_ARM_H_
7 7
8 #include "src/arm/frames-arm.h" 8 #include "src/arm/frames-arm.h"
9 9
10 namespace v8 { 10 namespace v8 {
11 namespace internal { 11 namespace internal {
12 12
13 13
14 void ArrayNativeCode(MacroAssembler* masm, Label* call_generic_code); 14 void ArrayNativeCode(MacroAssembler* masm, 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 a large number of characters. This function
20 // is allowed to spend extra time setting up conditions to make copying
21 // faster. Copying of overlapping regions is not supported.
22 // Dest register ends at the position after the last character written.
23 static void GenerateCopyCharacters(MacroAssembler* masm,
24 Register dest,
25 Register src,
26 Register count,
27 Register scratch,
28 String::Encoding encoding);
29
30 // Compares two flat one-byte strings and returns result in r0. 19 // Compares two flat one-byte strings and returns result in r0.
31 static void GenerateCompareFlatOneByteStrings( 20 static void GenerateCompareFlatOneByteStrings(
32 MacroAssembler* masm, Register left, Register right, Register scratch1, 21 MacroAssembler* masm, Register left, Register right, Register scratch1,
33 Register scratch2, Register scratch3, Register scratch4); 22 Register scratch2, Register scratch3, Register scratch4);
34 23
35 // 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.
36 static void GenerateFlatOneByteStringEquals(MacroAssembler* masm, 25 static void GenerateFlatOneByteStringEquals(MacroAssembler* masm,
37 Register left, Register right, 26 Register left, Register right,
38 Register scratch1, 27 Register scratch1,
39 Register scratch2, 28 Register scratch2,
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; 296 class LookupModeBits: public BitField<LookupMode, 0, 1> {};
308 297
309 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR(); 298 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR();
310 DEFINE_PLATFORM_CODE_STUB(NameDictionaryLookup, PlatformCodeStub); 299 DEFINE_PLATFORM_CODE_STUB(NameDictionaryLookup, PlatformCodeStub);
311 }; 300 };
312 301
313 } // namespace internal 302 } // namespace internal
314 } // namespace v8 303 } // namespace v8
315 304
316 #endif // V8_ARM_CODE_STUBS_ARM_H_ 305 #endif // V8_ARM_CODE_STUBS_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/code-stubs-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698