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

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

Issue 2122183002: [Interpreter] Collect type feedback for calls in the bytecode handler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updated cctest.status Created 4 years, 5 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 <iosfwd> 8 #include <iosfwd>
9 9
10 // Clients of this interface shouldn't depend on lots of interpreter internals. 10 // Clients of this interface shouldn't depend on lots of interpreter internals.
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 588
589 // Returns the equivalent jump bytecode without the accumulator coercion. 589 // Returns the equivalent jump bytecode without the accumulator coercion.
590 static Bytecode GetJumpWithoutToBoolean(Bytecode bytecode); 590 static Bytecode GetJumpWithoutToBoolean(Bytecode bytecode);
591 591
592 // Returns true if the bytecode is a conditional jump, a jump, or a return. 592 // Returns true if the bytecode is a conditional jump, a jump, or a return.
593 static bool IsJumpOrReturn(Bytecode bytecode); 593 static bool IsJumpOrReturn(Bytecode bytecode);
594 594
595 // Returns true if the bytecode is a call or a constructor call. 595 // Returns true if the bytecode is a call or a constructor call.
596 static bool IsCallOrNew(Bytecode bytecode); 596 static bool IsCallOrNew(Bytecode bytecode);
597 597
598 // Returns true if the bytecode is a tail call.
599 static bool IsTailCall(Bytecode bytecode);
rmcilroy 2016/07/12 09:36:20 Remove
600
598 // Returns true if the bytecode is a call to the runtime. 601 // Returns true if the bytecode is a call to the runtime.
599 static bool IsCallRuntime(Bytecode bytecode); 602 static bool IsCallRuntime(Bytecode bytecode);
600 603
601 // Returns true if the bytecode is a debug break. 604 // Returns true if the bytecode is a debug break.
602 static bool IsDebugBreak(Bytecode bytecode); 605 static bool IsDebugBreak(Bytecode bytecode);
603 606
604 // Returns true if the bytecode is Ldar or Star. 607 // Returns true if the bytecode is Ldar or Star.
605 static bool IsLdarOrStar(Bytecode bytecode); 608 static bool IsLdarOrStar(Bytecode bytecode);
606 609
607 // Returns true if the bytecode is LdaSmi or LdaZero. 610 // Returns true if the bytecode is LdaSmi or LdaZero.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use); 702 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use);
700 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale); 703 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale);
701 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size); 704 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size);
702 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 705 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
703 706
704 } // namespace interpreter 707 } // namespace interpreter
705 } // namespace internal 708 } // namespace internal
706 } // namespace v8 709 } // namespace v8
707 710
708 #endif // V8_INTERPRETER_BYTECODES_H_ 711 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698