Searched refs:ToBooleanMode (Results 1 – 6 of 6) sorted by relevance
/external/v8/src/interpreter/ |
D | control-flow-builders.h | 50 void BreakIfTrue(BytecodeArrayBuilder::ToBooleanMode mode) { in BreakIfTrue() 53 void BreakIfFalse(BytecodeArrayBuilder::ToBooleanMode mode) { in BreakIfFalse() 68 void EmitJumpIfTrue(BytecodeArrayBuilder::ToBooleanMode mode, 70 void EmitJumpIfFalse(BytecodeArrayBuilder::ToBooleanMode mode, 161 void Case(BytecodeArrayBuilder::ToBooleanMode mode, int index) { in Case()
|
D | bytecode-generator.h | 67 using ToBooleanMode = BytecodeArrayBuilder::ToBooleanMode; variable 247 void BuildTest(ToBooleanMode mode, BytecodeLabels* then_labels, 291 static constexpr ToBooleanMode ToBooleanModeFromTypeHint(TypeHint type_hint) { in ToBooleanModeFromTypeHint() 292 return type_hint == TypeHint::kBoolean ? ToBooleanMode::kAlreadyBoolean in ToBooleanModeFromTypeHint() 293 : ToBooleanMode::kConvertToBoolean; in ToBooleanModeFromTypeHint()
|
D | bytecode-array-builder.cc | 464 BytecodeArrayBuilder& BytecodeArrayBuilder::LogicalNot(ToBooleanMode mode) { in LogicalNot() 465 if (mode == ToBooleanMode::kAlreadyBoolean) { in LogicalNot() 468 DCHECK_EQ(mode, ToBooleanMode::kConvertToBoolean); in LogicalNot() 1069 BytecodeArrayBuilder& BytecodeArrayBuilder::JumpIfTrue(ToBooleanMode mode, in JumpIfTrue() 1072 if (mode == ToBooleanMode::kAlreadyBoolean) { in JumpIfTrue() 1075 DCHECK_EQ(mode, ToBooleanMode::kConvertToBoolean); in JumpIfTrue() 1081 BytecodeArrayBuilder& BytecodeArrayBuilder::JumpIfFalse(ToBooleanMode mode, in JumpIfFalse() 1084 if (mode == ToBooleanMode::kAlreadyBoolean) { in JumpIfFalse() 1087 DCHECK_EQ(mode, ToBooleanMode::kConvertToBoolean); in JumpIfFalse() 1125 return CompareUndetectable().JumpIfTrue(ToBooleanMode::kAlreadyBoolean, in JumpIfNil() [all …]
|
D | bytecode-array-builder.h | 343 enum class ToBooleanMode { enum 349 BytecodeArrayBuilder& LogicalNot(ToBooleanMode mode); 393 BytecodeArrayBuilder& JumpIfTrue(ToBooleanMode mode, BytecodeLabel* label); 394 BytecodeArrayBuilder& JumpIfFalse(ToBooleanMode mode, BytecodeLabel* label); 612 std::ostream& os, const BytecodeArrayBuilder::ToBooleanMode& mode);
|
D | control-flow-builders.cc | 31 BytecodeArrayBuilder::ToBooleanMode mode, BytecodeLabels* sites) { in EmitJumpIfTrue() 36 BytecodeArrayBuilder::ToBooleanMode mode, BytecodeLabels* sites) { in EmitJumpIfFalse()
|
D | bytecode-generator.cc | 238 .JumpIfFalse(ToBooleanMode::kAlreadyBoolean, &fall_through); in ApplyDeferredCommands() 1447 switch_builder.Case(ToBooleanMode::kAlreadyBoolean, i); in VisitSwitchStatement() 1649 loop_builder.BreakIfFalse(ToBooleanMode::kAlreadyBoolean); in VisitForInStatement() 1875 .JumpIfFalse(ToBooleanMode::kAlreadyBoolean, &done) in BuildClassLiteral() 2498 loop_builder.BreakIfTrue(ToBooleanMode::kConvertToBoolean); in BuildArrayLiteralSpread() 3297 loop.BreakIfTrue(ToBooleanMode::kConvertToBoolean); in VisitYieldStar() 3343 .JumpIfFalse(ToBooleanMode::kAlreadyBoolean, &completion_is_output_value) in VisitYieldStar() 3414 .JumpIfTrue(ToBooleanMode::kAlreadyBoolean, &resume_next); in BuildAwait() 4999 void BytecodeGenerator::BuildTest(ToBooleanMode mode, in BuildTest()
|