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

Side by Side Diff: src/interpreter/bytecodes.h

Issue 2758563002: [gn] Enable stricter build flags (Closed)
Patch Set: Fix one last unused variable error Created 3 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
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_INTERPRETER_BYTECODES_H_ 5 #ifndef V8_INTERPRETER_BYTECODES_H_
6 #define V8_INTERPRETER_BYTECODES_H_ 6 #define V8_INTERPRETER_BYTECODES_H_
7 7
8 #include <cstdint> 8 #include <cstdint>
9 #include <iosfwd> 9 #include <iosfwd>
10 #include <string> 10 #include <string>
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 case OperandType::kRegOutPair: 782 case OperandType::kRegOutPair:
783 return 2; 783 return 2;
784 case OperandType::kRegOutTriple: 784 case OperandType::kRegOutTriple:
785 return 3; 785 return 3;
786 case OperandType::kRegList: 786 case OperandType::kRegList:
787 UNREACHABLE(); 787 UNREACHABLE();
788 return 0; 788 return 0;
789 default: 789 default:
790 return 0; 790 return 0;
791 } 791 }
792 UNREACHABLE();
792 return 0; 793 return 0;
793 } 794 }
794 795
795 // Returns the size of |operand| for |operand_scale|. 796 // Returns the size of |operand| for |operand_scale|.
796 static OperandSize SizeOfOperand(OperandType operand, OperandScale scale); 797 static OperandSize SizeOfOperand(OperandType operand, OperandScale scale);
797 798
798 // Returns true if |operand_type| is a runtime-id operand (kRuntimeId). 799 // Returns true if |operand_type| is a runtime-id operand (kRuntimeId).
799 static bool IsRuntimeIdOperandType(OperandType operand_type); 800 static bool IsRuntimeIdOperandType(OperandType operand_type);
800 801
801 // Returns true if |operand_type| is unsigned, false if signed. 802 // Returns true if |operand_type| is unsigned, false if signed.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 }; 853 };
853 854
854 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, 855 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os,
855 const Bytecode& bytecode); 856 const Bytecode& bytecode);
856 857
857 } // namespace interpreter 858 } // namespace interpreter
858 } // namespace internal 859 } // namespace internal
859 } // namespace v8 860 } // namespace v8
860 861
861 #endif // V8_INTERPRETER_BYTECODES_H_ 862 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698