• Home
  • Raw
  • Download

Lines Matching refs:Bytecode

61 const char* Bytecodes::ToString(Bytecode bytecode) {  in ToString()
64 case Bytecode::k##Name: \ in ToString()
74 std::string Bytecodes::ToString(Bytecode bytecode, OperandScale operand_scale) { in ToString()
79 Bytecode prefix_bytecode = OperandScaleToPrefixBytecode(operand_scale); in ToString()
88 Bytecode Bytecodes::GetDebugBreak(Bytecode bytecode) { in GetDebugBreak()
90 if (bytecode == Bytecode::kWide) { in GetDebugBreak()
91 return Bytecode::kDebugBreakWide; in GetDebugBreak()
93 if (bytecode == Bytecode::kExtraWide) { in GetDebugBreak()
94 return Bytecode::kDebugBreakExtraWide; in GetDebugBreak()
98 if (bytecode_size == Size(Bytecode::k##Name, OperandScale::kSingle)) { \ in GetDebugBreak()
99 return Bytecode::k##Name; \ in GetDebugBreak()
104 return Bytecode::kIllegal; in GetDebugBreak()
108 int Bytecodes::GetOperandOffset(Bytecode bytecode, int i, in GetOperandOffset()
122 Bytecode Bytecodes::GetJumpWithoutToBoolean(Bytecode bytecode) { in GetJumpWithoutToBoolean()
124 case Bytecode::kJumpIfToBooleanTrue: in GetJumpWithoutToBoolean()
125 return Bytecode::kJumpIfTrue; in GetJumpWithoutToBoolean()
126 case Bytecode::kJumpIfToBooleanFalse: in GetJumpWithoutToBoolean()
127 return Bytecode::kJumpIfFalse; in GetJumpWithoutToBoolean()
128 case Bytecode::kJumpIfToBooleanTrueConstant: in GetJumpWithoutToBoolean()
129 return Bytecode::kJumpIfTrueConstant; in GetJumpWithoutToBoolean()
130 case Bytecode::kJumpIfToBooleanFalseConstant: in GetJumpWithoutToBoolean()
131 return Bytecode::kJumpIfFalseConstant; in GetJumpWithoutToBoolean()
136 return Bytecode::kIllegal; in GetJumpWithoutToBoolean()
140 bool Bytecodes::IsDebugBreak(Bytecode bytecode) { in IsDebugBreak()
142 #define CASE(Name, ...) case Bytecode::k##Name: in IsDebugBreak()
169 bool Bytecodes::MakesCallAlongCriticalPath(Bytecode bytecode) { in MakesCallAlongCriticalPath()
172 case Bytecode::kCreateWithContext: in MakesCallAlongCriticalPath()
173 case Bytecode::kCreateBlockContext: in MakesCallAlongCriticalPath()
174 case Bytecode::kCreateCatchContext: in MakesCallAlongCriticalPath()
175 case Bytecode::kCreateRegExpLiteral: in MakesCallAlongCriticalPath()
219 bool Bytecodes::IsStarLookahead(Bytecode bytecode, OperandScale operand_scale) { in IsStarLookahead()
222 case Bytecode::kLdaZero: in IsStarLookahead()
223 case Bytecode::kLdaSmi: in IsStarLookahead()
224 case Bytecode::kLdaNull: in IsStarLookahead()
225 case Bytecode::kLdaTheHole: in IsStarLookahead()
226 case Bytecode::kLdaConstant: in IsStarLookahead()
227 case Bytecode::kLdaUndefined: in IsStarLookahead()
228 case Bytecode::kLdaGlobal: in IsStarLookahead()
229 case Bytecode::kLdaNamedProperty: in IsStarLookahead()
230 case Bytecode::kLdaKeyedProperty: in IsStarLookahead()
231 case Bytecode::kLdaContextSlot: in IsStarLookahead()
232 case Bytecode::kLdaCurrentContextSlot: in IsStarLookahead()
233 case Bytecode::kAdd: in IsStarLookahead()
234 case Bytecode::kSub: in IsStarLookahead()
235 case Bytecode::kMul: in IsStarLookahead()
236 case Bytecode::kAddSmi: in IsStarLookahead()
237 case Bytecode::kSubSmi: in IsStarLookahead()
238 case Bytecode::kInc: in IsStarLookahead()
239 case Bytecode::kDec: in IsStarLookahead()
240 case Bytecode::kTypeOf: in IsStarLookahead()
241 case Bytecode::kCall: in IsStarLookahead()
242 case Bytecode::kCallProperty: in IsStarLookahead()
243 case Bytecode::kConstruct: in IsStarLookahead()
244 case Bytecode::kConstructWithSpread: in IsStarLookahead()
254 bool Bytecodes::IsBytecodeWithScalableOperands(Bytecode bytecode) { in IsBytecodeWithScalableOperands()
300 bool Bytecodes::BytecodeHasHandler(Bytecode bytecode, in BytecodeHasHandler()
306 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode) { in operator <<()