Searched refs:ToBooleanMode (Results 1 – 6 of 6) sorted by relevance
/external/v8/src/interpreter/ |
D | control-flow-builders.h | 51 void BreakIfTrue(BytecodeArrayBuilder::ToBooleanMode mode) { in BreakIfTrue() 54 void BreakIfFalse(BytecodeArrayBuilder::ToBooleanMode mode) { in BreakIfFalse() 64 void EmitJumpIfTrue(BytecodeArrayBuilder::ToBooleanMode mode, 66 void EmitJumpIfFalse(BytecodeArrayBuilder::ToBooleanMode mode, 168 void Case(BytecodeArrayBuilder::ToBooleanMode mode, int index) { in Case()
|
D | bytecode-array-builder.cc | 506 BytecodeArrayBuilder& BytecodeArrayBuilder::LogicalNot(ToBooleanMode mode) { in LogicalNot() 507 if (mode == ToBooleanMode::kAlreadyBoolean) { in LogicalNot() 510 DCHECK_EQ(mode, ToBooleanMode::kConvertToBoolean); in LogicalNot() 1163 BytecodeArrayBuilder& BytecodeArrayBuilder::JumpIfTrue(ToBooleanMode mode, in JumpIfTrue() 1166 if (mode == ToBooleanMode::kAlreadyBoolean) { in JumpIfTrue() 1169 DCHECK_EQ(mode, ToBooleanMode::kConvertToBoolean); in JumpIfTrue() 1175 BytecodeArrayBuilder& BytecodeArrayBuilder::JumpIfFalse(ToBooleanMode mode, in JumpIfFalse() 1178 if (mode == ToBooleanMode::kAlreadyBoolean) { in JumpIfFalse() 1181 DCHECK_EQ(mode, ToBooleanMode::kConvertToBoolean); in JumpIfFalse() 1226 return CompareUndetectable().JumpIfTrue(ToBooleanMode::kAlreadyBoolean, in JumpIfNil() [all …]
|
D | bytecode-generator.h | 82 using ToBooleanMode = BytecodeArrayBuilder::ToBooleanMode; variable 377 void BuildTest(ToBooleanMode mode, BytecodeLabels* then_labels, 439 static constexpr ToBooleanMode ToBooleanModeFromTypeHint(TypeHint type_hint) { in ToBooleanModeFromTypeHint() 440 return type_hint == TypeHint::kBoolean ? ToBooleanMode::kAlreadyBoolean in ToBooleanModeFromTypeHint() 441 : ToBooleanMode::kConvertToBoolean; in ToBooleanModeFromTypeHint()
|
D | bytecode-array-builder.h | 383 enum class ToBooleanMode { enum 389 BytecodeArrayBuilder& LogicalNot(ToBooleanMode mode); 439 BytecodeArrayBuilder& JumpIfTrue(ToBooleanMode mode, BytecodeLabel* label); 440 BytecodeArrayBuilder& JumpIfFalse(ToBooleanMode mode, BytecodeLabel* label); 653 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 | 259 .JumpIfFalse(ToBooleanMode::kAlreadyBoolean, &fall_through); in ApplyDeferredCommands() 1750 switch_builder.Case(ToBooleanMode::kAlreadyBoolean, i); in VisitSwitchStatement() 1981 loop_builder.BreakIfFalse(ToBooleanMode::kAlreadyBoolean); in VisitForInStatement() 2063 loop_builder.BreakIfTrue(ToBooleanMode::kConvertToBoolean); in VisitForOfStatement() 2286 .JumpIfFalse(ToBooleanMode::kAlreadyBoolean, &done) in BuildClassLiteral() 2905 loop_builder.BreakIfTrue(ToBooleanMode::kConvertToBoolean); in BuildFillArrayWithIterator() 3576 ToBooleanMode::kConvertToBoolean, iterator_is_done.New()); in BuildFinalizeIteration() 3630 .JumpIfTrue(ToBooleanMode::kAlreadyBoolean, in BuildFinalizeIteration() 3754 builder()->JumpIfTrue(ToBooleanMode::kConvertToBoolean, in BuildDestructuringArrayAssignment() 3763 .JumpIfTrue(ToBooleanMode::kConvertToBoolean, is_done.New()) in BuildDestructuringArrayAssignment() [all …]
|