Lines Matching refs:condition
803 void LCodeGen::DeoptimizeIf(Condition condition,
821 // Store the condition on the stack if necessary
822 if (condition != al) {
823 __ mov(scratch, Operand::Zero(), LeaveCC, NegateCondition(condition));
824 __ mov(scratch, Operand(1), LeaveCC, condition);
836 if (condition != al) {
843 // 'Restore' the condition in a slightly hacky way. (It would be better
846 if (condition != al) {
847 condition = ne;
853 __ stop("trap_on_deopt", condition);
857 // Go through jump table if we need to handle condition, build frame, or
859 if (condition == al && frame_is_built_ &&
874 __ b(condition, &deopt_jump_table_.last().label);
879 void LCodeGen::DeoptimizeIf(Condition condition,
884 DeoptimizeIf(condition, environment, bailout_type);
1278 // Branch and condition free code for integer division by a power
1313 // Branch and condition free code for integer division by a power
2054 Condition condition = (operation == HMathMinMax::kMathMin) ? le : ge;
2061 __ Move(result_reg, left_reg, condition);
2062 __ mov(result_reg, right_op, LeaveCC, NegateCondition(condition));
2166 void LCodeGen::EmitBranch(InstrType instr, Condition condition) {
2172 if (right_block == left_block || condition == al) {
2175 __ b(NegateCondition(condition), chunk_->GetAssemblyLabel(right_block));
2177 __ b(condition, chunk_->GetAssemblyLabel(left_block));
2179 __ b(condition, chunk_->GetAssemblyLabel(left_block));
2186 void LCodeGen::EmitFalseBranch(InstrType instr, Condition condition) {
2188 __ b(condition, chunk_->GetAssemblyLabel(false_block));
2345 Condition LCodeGen::TokenToCondition(Token::Value op, bool is_unsigned) {
2346 Condition cond = kNoCondition;
2380 Condition cond = TokenToCondition(instr->op(), false);
2412 // We transposed the operands. Reverse the condition.
2479 Condition LCodeGen::EmitIsObject(Register input,
2510 Condition true_cond =
2518 Condition LCodeGen::EmitIsString(Register input,
2538 Condition true_cond =
2566 static Condition ComputeCompareCondition(Token::Value op) {
2595 Condition condition = ComputeCompareCondition(op);
2597 EmitBranch(instr, condition);
2610 static Condition BranchCondition(HHasInstanceTypeAndBranch* instr) {
2827 Condition is_string = masm_->IsObjectStringType(object, temp);
2903 Condition condition = ComputeCompareCondition(op);
2906 condition);
2909 NegateCondition(condition));
4264 void LCodeGen::ApplyCheckIf(Condition condition, LBoundsCheck* check) {
4267 __ b(NegateCondition(condition), &done);
4271 DeoptimizeIf(condition, check->environment());
4291 Condition condition = instr->hydrogen()->allow_equality() ? hi : hs;
4292 ApplyCheckIf(condition, instr);
5526 Condition final_branch_condition = EmitTypeofIs(instr->TrueLabel(chunk_),
5536 Condition LCodeGen::EmitTypeofIs(Label* true_label,
5540 Condition final_branch_condition = kNoCondition;