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

Side by Side Diff: src/compiler/instruction.h

Issue 2452943002: [turbofan] Remove dead kArchTailCallJSFunction. (Closed)
Patch Set: Created 4 years, 1 month 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/compiler/ia32/code-generator-ia32.cc ('k') | src/compiler/instruction-codes.h » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_COMPILER_INSTRUCTION_H_ 5 #ifndef V8_COMPILER_INSTRUCTION_H_
6 #define V8_COMPILER_INSTRUCTION_H_ 6 #define V8_COMPILER_INSTRUCTION_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <iosfwd> 9 #include <iosfwd>
10 #include <map> 10 #include <map>
(...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 bool IsDeoptimizeCall() const { 894 bool IsDeoptimizeCall() const {
895 return arch_opcode() == ArchOpcode::kArchDeoptimize || 895 return arch_opcode() == ArchOpcode::kArchDeoptimize ||
896 FlagsModeField::decode(opcode()) == kFlags_deoptimize; 896 FlagsModeField::decode(opcode()) == kFlags_deoptimize;
897 } 897 }
898 898
899 bool IsJump() const { return arch_opcode() == ArchOpcode::kArchJmp; } 899 bool IsJump() const { return arch_opcode() == ArchOpcode::kArchJmp; }
900 bool IsRet() const { return arch_opcode() == ArchOpcode::kArchRet; } 900 bool IsRet() const { return arch_opcode() == ArchOpcode::kArchRet; }
901 bool IsTailCall() const { 901 bool IsTailCall() const {
902 return arch_opcode() == ArchOpcode::kArchTailCallCodeObject || 902 return arch_opcode() == ArchOpcode::kArchTailCallCodeObject ||
903 arch_opcode() == ArchOpcode::kArchTailCallCodeObjectFromJSFunction || 903 arch_opcode() == ArchOpcode::kArchTailCallCodeObjectFromJSFunction ||
904 arch_opcode() == ArchOpcode::kArchTailCallJSFunction ||
905 arch_opcode() == ArchOpcode::kArchTailCallJSFunctionFromJSFunction || 904 arch_opcode() == ArchOpcode::kArchTailCallJSFunctionFromJSFunction ||
906 arch_opcode() == ArchOpcode::kArchTailCallAddress; 905 arch_opcode() == ArchOpcode::kArchTailCallAddress;
907 } 906 }
908 bool IsThrow() const { 907 bool IsThrow() const {
909 return arch_opcode() == ArchOpcode::kArchThrowTerminator; 908 return arch_opcode() == ArchOpcode::kArchThrowTerminator;
910 } 909 }
911 910
912 enum GapPosition { 911 enum GapPosition {
913 START, 912 START,
914 END, 913 END,
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
1535 }; 1534 };
1536 1535
1537 V8_EXPORT_PRIVATE std::ostream& operator<<( 1536 V8_EXPORT_PRIVATE std::ostream& operator<<(
1538 std::ostream& os, const PrintableInstructionSequence& code); 1537 std::ostream& os, const PrintableInstructionSequence& code);
1539 1538
1540 } // namespace compiler 1539 } // namespace compiler
1541 } // namespace internal 1540 } // namespace internal
1542 } // namespace v8 1541 } // namespace v8
1543 1542
1544 #endif // V8_COMPILER_INSTRUCTION_H_ 1543 #endif // V8_COMPILER_INSTRUCTION_H_
OLDNEW
« no previous file with comments | « src/compiler/ia32/code-generator-ia32.cc ('k') | src/compiler/instruction-codes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698