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

Side by Side Diff: src/mips/code-stubs-mips.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 | « src/ia32/code-stubs-ia32.cc ('k') | src/mips/code-stubs-mips.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_MIPS_CODE_STUBS_MIPS_H_ 5 #ifndef V8_MIPS_CODE_STUBS_MIPS_H_
6 #define V8_MIPS_CODE_STUBS_MIPS_H_ 6 #define V8_MIPS_CODE_STUBS_MIPS_H_
7 7
8 #include "src/mips/frames-mips.h" 8 #include "src/mips/frames-mips.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 v0. 19 // Compares two flat one-byte strings and returns result in v0.
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 v0. 24 // Compares two flat one-byte strings for equality and returns result in v0.
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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 328
340 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR(); 329 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR();
341 DEFINE_PLATFORM_CODE_STUB(NameDictionaryLookup, PlatformCodeStub); 330 DEFINE_PLATFORM_CODE_STUB(NameDictionaryLookup, PlatformCodeStub);
342 }; 331 };
343 332
344 333
345 } // namespace internal 334 } // namespace internal
346 } // namespace v8 335 } // namespace v8
347 336
348 #endif // V8_MIPS_CODE_STUBS_MIPS_H_ 337 #endif // V8_MIPS_CODE_STUBS_MIPS_H_
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698