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

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

Issue 1347063004: [ic] Introduce BOOLEAN state for CompareIC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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/arm64/code-stubs-arm64.cc ('k') | src/code-stubs.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_CODE_STUBS_H_ 5 #ifndef V8_CODE_STUBS_H_
6 #define V8_CODE_STUBS_H_ 6 #define V8_CODE_STUBS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 1679 matching lines...) Expand 10 before | Expand all | Expand 10 after
1690 return LeftStateBits::decode(minor_key_); 1690 return LeftStateBits::decode(minor_key_);
1691 } 1691 }
1692 CompareICState::State right() const { 1692 CompareICState::State right() const {
1693 return RightStateBits::decode(minor_key_); 1693 return RightStateBits::decode(minor_key_);
1694 } 1694 }
1695 CompareICState::State state() const { return StateBits::decode(minor_key_); } 1695 CompareICState::State state() const { return StateBits::decode(minor_key_); }
1696 1696
1697 private: 1697 private:
1698 Code::Kind GetCodeKind() const override { return Code::COMPARE_IC; } 1698 Code::Kind GetCodeKind() const override { return Code::COMPARE_IC; }
1699 1699
1700 void GenerateBooleans(MacroAssembler* masm);
1700 void GenerateSmis(MacroAssembler* masm); 1701 void GenerateSmis(MacroAssembler* masm);
1701 void GenerateNumbers(MacroAssembler* masm); 1702 void GenerateNumbers(MacroAssembler* masm);
1702 void GenerateInternalizedStrings(MacroAssembler* masm); 1703 void GenerateInternalizedStrings(MacroAssembler* masm);
1703 void GenerateStrings(MacroAssembler* masm); 1704 void GenerateStrings(MacroAssembler* masm);
1704 void GenerateUniqueNames(MacroAssembler* masm); 1705 void GenerateUniqueNames(MacroAssembler* masm);
1705 void GenerateObjects(MacroAssembler* masm); 1706 void GenerateObjects(MacroAssembler* masm);
1706 void GenerateMiss(MacroAssembler* masm); 1707 void GenerateMiss(MacroAssembler* masm);
1707 void GenerateKnownObjects(MacroAssembler* masm); 1708 void GenerateKnownObjects(MacroAssembler* masm);
1708 void GenerateGeneric(MacroAssembler* masm); 1709 void GenerateGeneric(MacroAssembler* masm);
1709 1710
(...skipping 1369 matching lines...) Expand 10 before | Expand all | Expand 10 after
3079 #undef DEFINE_HYDROGEN_CODE_STUB 3080 #undef DEFINE_HYDROGEN_CODE_STUB
3080 #undef DEFINE_CODE_STUB 3081 #undef DEFINE_CODE_STUB
3081 #undef DEFINE_CODE_STUB_BASE 3082 #undef DEFINE_CODE_STUB_BASE
3082 3083
3083 extern Representation RepresentationFromType(Type* type); 3084 extern Representation RepresentationFromType(Type* type);
3084 3085
3085 } // namespace internal 3086 } // namespace internal
3086 } // namespace v8 3087 } // namespace v8
3087 3088
3088 #endif // V8_CODE_STUBS_H_ 3089 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698