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/mips64/macro-assembler-mips64.h

Issue 1818923002: [stubs] Split ToNumberStub into reusable subparts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE Created 4 years, 9 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/mips64/code-stubs-mips64.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 1653 matching lines...) Expand 10 before | Expand all | Expand 10 after
1664 void JumpIfNotSmi(Register value, 1664 void JumpIfNotSmi(Register value,
1665 Label* not_smi_label, 1665 Label* not_smi_label,
1666 Register scratch = at, 1666 Register scratch = at,
1667 BranchDelaySlot bd = PROTECT); 1667 BranchDelaySlot bd = PROTECT);
1668 1668
1669 // Jump if either of the registers contain a non-smi. 1669 // Jump if either of the registers contain a non-smi.
1670 void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi); 1670 void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi);
1671 // Jump if either of the registers contain a smi. 1671 // Jump if either of the registers contain a smi.
1672 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi); 1672 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi);
1673 1673
1674 // Abort execution if argument is a number, enabled via --debug-code.
1675 void AssertNotNumber(Register object);
1676
1674 // Abort execution if argument is a smi, enabled via --debug-code. 1677 // Abort execution if argument is a smi, enabled via --debug-code.
1675 void AssertNotSmi(Register object); 1678 void AssertNotSmi(Register object);
1676 void AssertSmi(Register object); 1679 void AssertSmi(Register object);
1677 1680
1678 // Abort execution if argument is not a string, enabled via --debug-code. 1681 // Abort execution if argument is not a string, enabled via --debug-code.
1679 void AssertString(Register object); 1682 void AssertString(Register object);
1680 1683
1681 // Abort execution if argument is not a name, enabled via --debug-code. 1684 // Abort execution if argument is not a name, enabled via --debug-code.
1682 void AssertName(Register object); 1685 void AssertName(Register object);
1683 1686
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
1986 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1989 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1987 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1990 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1988 #else 1991 #else
1989 #define ACCESS_MASM(masm) masm-> 1992 #define ACCESS_MASM(masm) masm->
1990 #endif 1993 #endif
1991 1994
1992 } // namespace internal 1995 } // namespace internal
1993 } // namespace v8 1996 } // namespace v8
1994 1997
1995 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1998 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips64/code-stubs-mips64.cc ('k') | src/mips64/macro-assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698