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

Side by Side Diff: src/mips64/macro-assembler-mips64.h

Issue 2683903002: Fix missing cases of empty_string canonicalization (Closed)
Patch Set: make LSan happy Created 3 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
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | src/mips64/macro-assembler-mips64.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_MIPS_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/mips64/assembler-mips64.h" 10 #include "src/mips64/assembler-mips64.h"
(...skipping 1860 matching lines...) Expand 10 before | Expand all | Expand 10 after
1871 1871
1872 1872
1873 // Helper functions for generating invokes. 1873 // Helper functions for generating invokes.
1874 void InvokePrologue(const ParameterCount& expected, 1874 void InvokePrologue(const ParameterCount& expected,
1875 const ParameterCount& actual, 1875 const ParameterCount& actual,
1876 Label* done, 1876 Label* done,
1877 bool* definitely_mismatches, 1877 bool* definitely_mismatches,
1878 InvokeFlag flag, 1878 InvokeFlag flag,
1879 const CallWrapper& call_wrapper); 1879 const CallWrapper& call_wrapper);
1880 1880
1881 void InitializeNewString(Register string,
1882 Register length,
1883 Heap::RootListIndex map_index,
1884 Register scratch1,
1885 Register scratch2);
1886
1887 // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace. 1881 // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace.
1888 void InNewSpace(Register object, Register scratch, 1882 void InNewSpace(Register object, Register scratch,
1889 Condition cond, // ne for new space, eq otherwise. 1883 Condition cond, // ne for new space, eq otherwise.
1890 Label* branch); 1884 Label* branch);
1891 1885
1892 // Helper for finding the mark bits for an address. Afterwards, the 1886 // Helper for finding the mark bits for an address. Afterwards, the
1893 // bitmap register points at the word with the mark bits and the mask 1887 // bitmap register points at the word with the mark bits and the mask
1894 // the position of the first bit. Leaves addr_reg unchanged. 1888 // the position of the first bit. Leaves addr_reg unchanged.
1895 inline void GetMarkBits(Register addr_reg, 1889 inline void GetMarkBits(Register addr_reg,
1896 Register bitmap_reg, 1890 Register bitmap_reg,
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
1983 dd(GetLabelFunction(index)); 1977 dd(GetLabelFunction(index));
1984 } 1978 }
1985 } 1979 }
1986 1980
1987 #define ACCESS_MASM(masm) masm-> 1981 #define ACCESS_MASM(masm) masm->
1988 1982
1989 } // namespace internal 1983 } // namespace internal
1990 } // namespace v8 1984 } // namespace v8
1991 1985
1992 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1986 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | src/mips64/macro-assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698