Lines Matching defs:value
182 // Fixed value tokens for paths we know we need.
232 // harmless value there instead so that it is still considered "killed" in
234 // Smi token value is just as good, and by reusing it we save a bytecode.
253 // harmless value there instead so that it is still considered "killed" in
255 // token value is just as good, and by reusing it we save a bytecode.
647 // Specify expression always returns a Boolean result value.
702 // possible value by testing and jumping to a then/else label.
1296 DCHECK((std::is_same<Isolate, v8::internal::Isolate>::value));
1824 return expr->AsLiteral()->AsSmiLiteral().value();
1891 int value = ReduceToSmiSwitchCaseValue(clause->label());
1892 info->covered_cases.insert({value, clause});
2192 // - ReturnStatement: It represents the return value being returned.
2355 // Assign accumulator value to the 'each' target.
2383 // // Make sure we are considered 'done' if .next(), .done or .value fail.
2385 // value = iterator.next()
2386 // if (value.done) break;
2387 // value = value.value
2390 // EACH = value
2407 // exit, and the 'done' value in a dedicated register so that it can be
2425 // property is truthy, otherwise load the value from the iterator result
2435 // value = value.value
2462 // Update catch prediction tracking. The updated catch_prediction value lasts
2609 VisitForAccumulatorValue(property->value());
2692 // We don't compute field's value here, but instead do it in the
2697 Register value = register_allocator()->GrowRegisterList(&args);
2698 VisitForRegisterValue(property->value(), value);
2850 builder()->SetExpressionAsStatementPosition(property->value());
2851 VisitForAccumulatorValue(property->value());
3072 Expression* property = expr->properties()->first()->value();
3105 DCHECK(clone_object_spread || !property->value()->IsCompileTimeValue());
3109 // contains computed properties with an uninitialized value.
3120 property->value()->IsConciseMethodDefinition());
3121 builder()->SetExpressionPosition(property->value());
3124 VisitForAccumulatorValue(property->value());
3135 VisitForEffect(property->value());
3147 builder()->SetExpressionPosition(property->value());
3148 VisitForRegisterValue(property->value(), args[1]);
3195 (property->value()->IsConciseMethodDefinition() ||
3196 property->value()->IsAccessorFunctionDefinition());
3208 builder()->SetExpressionPosition(property->value());
3209 VisitForRegisterValue(property->value(), args[1]);
3228 builder()->SetExpressionPosition(property->value());
3229 Register value;
3234 if (property->value()->IsClassLiteral() &&
3235 property->value()->AsClassLiteral()->static_initializer() !=
3237 value = register_allocator()->NewRegister();
3238 VisitClassLiteral(property->value()->AsClassLiteral(), key);
3239 builder()->StoreAccumulatorInRegister(value);
3241 value = VisitForRegisterValue(property->value());
3254 ->LoadAccumulatorWithRegister(value)
3272 builder()->SetExpressionPosition(property->value());
3273 VisitForRegisterValue(property->value(), args[2]);
3287 builder()->SetExpressionPosition(property->value());
3289 VisitForRegisterValue(property->value(), args[1]);
3307 // if one of iterator.next(), value.done, or value.value fail.
3312 // value = iterator.next()
3313 // if (value.done) break;
3314 // value = value.value
3315 // array[index++] = value
3318 IteratorRecord iterator, Register array, Register index, Register value,
3323 DCHECK(value.is_valid());
3329 // property is truthy, otherwise load the value from the iterator result and
3331 BuildIteratorNext(iterator, value);
3333 value, ast_string_constants()->done_string(),
3339 // value = value.value
3340 ->LoadNamedProperty(value, ast_string_constants()->value_string(),
3342 // array[index] = value
3473 Register value = register_allocator()->NewRegister();
3478 BuildFillArrayWithIterator(iterator, array, index, value,
3643 // Runtime returns {result} value, preserving accumulator.
3661 .StoreAccumulatorInRegister(args[1]) // value
3671 .StoreAccumulatorInRegister(args[1]) // value
3852 Register value;
3854 value = register_allocator()->NewRegister();
3855 builder()->StoreAccumulatorInRegister(value);
3863 builder()->LoadAccumulatorWithRegister(value);
3868 Register value;
3870 value = register_allocator()->NewRegister();
3871 builder()->StoreAccumulatorInRegister(value);
3878 builder()->LoadAccumulatorWithRegister(value);
4086 // Get the default value of a destructuring target. Will mutate the
4087 // destructuring target expression if there is a default value.
4100 default_value = default_init->value();
4108 // iterator accesses into the value being assigned (in the accumulator).
4117 // // Individual assignments read off the value from iterator.next() This gets
4120 // // Make sure we are considered 'done' if .next(), .done or .value fail.
4125 // value = next_result.value
4130 // value = undefined
4131 // a().x = value
4150 Register value = register_allocator()->NewRegister();
4151 builder()->StoreAccumulatorInRegister(value);
4154 // exit, and the 'done' value in a dedicated register so that it can be
4183 // // Make sure we are considered done if .next(), .done or .value
4189 // value = next_result.value
4194 // value = undefined
4220 // [<pattern> = <init>] = <value>
4222 // temp = <value>.next();
4228 // the default value for that case.
4300 builder()->LoadAccumulatorWithRegister(value);
4305 // property accesses into the value being assigned (in the accumulator).
4307 // { y, [x++]: a(), ...b.c } = value
4312 // rest_runtime_callargs[0] = value;
4315 // y = value.y;
4319 // a() = value[temp1];
4328 // Store the assignment value in a register.
4329 Register value;
4334 value = rest_runtime_callargs[0];
4336 value = register_allocator()->NewRegister();
4338 builder()->StoreAccumulatorInRegister(value);
4340 // if (value === null || value === undefined)
4348 // TODO(leszeks): Also eliminate this check if the value is known to be
4362 value);
4371 // The key of the pattern becomes the key into the RHS value, and the value
4376 Expression* target = pattern_property->value();
4383 // Calculate this property's key into the assignment RHS value, additionally
4423 // Get the value from the RHS.
4433 value, value_name, feedback_index(feedback_spec()->AddLoadICSlot()));
4437 value, feedback_index(feedback_spec()->AddKeyedLoadICSlot()));
4440 // {<pattern> = <init>} = <value>
4442 // temp = <value>;
4457 builder()->LoadAccumulatorWithRegister(value);
4464 // Assign the value to the LHS.
4492 Register value;
4494 value = register_allocator()->NewRegister();
4495 builder()->StoreAccumulatorInRegister(value);
4500 builder()->LoadAccumulatorWithRegister(value);
4533 Register value = register_allocator()->NewRegister();
4534 builder()->StoreAccumulatorInRegister(value);
4537 BuildPrivateSetterAccess(lhs_data.object(), lhs_data.key(), value);
4539 builder()->LoadAccumulatorWithRegister(value);
4549 VisitForAccumulatorValue(expr->value());
4558 // Evaluate the value and potentially handle compound assignments by loading
4559 // the left-hand side value and performing a binary operation.
4625 VisitForAccumulatorValue(expr->value());
4628 VisitForAccumulatorValue(expr->value());
4631 VisitForAccumulatorValue(expr->value());
4632 } else if (expr->value()->IsSmiLiteral()) {
4634 binop->op(), expr->value()->AsLiteral()->AsSmiLiteral(),
4639 VisitForAccumulatorValue(expr->value());
4649 // in the accumulator. When the generator is resumed, the sent value is loaded
4662 // Save context, registers, and state. This bytecode then returns the value
4684 // and on success, wraps the value in an IteratorResult.
4689 .StoreAccumulatorInRegister(args[1]) // value
4695 // value into IteratorResult.
4699 ->StoreAccumulatorInRegister(args[0]) // value
4707 // At this point, the generator has been resumed, with the received value in
4811 // %_AsyncGeneratorYield(output.value)
4818 // return output.value;
4820 // output.value
4946 // If generatorKind is async, perform AsyncGeneratorYield(output.value),
4947 // which will await `output.value` before resolving the current
4956 .StoreAccumulatorInRegister(args[1]) // value
4974 // produce a value.
5043 // Resume with "throw" completion (rethrow the received value).
5142 Register value) {
5151 .MoveRegister(value, args[1])
5526 // callee value.
5805 // Always returns a boolean value.
5925 // Evaluate LHS expression and get old value.
6016 // Convert old value into a number before saving it.
6027 // Store the value.
6038 Register value;
6040 value = register_allocator()->NewRegister();
6041 builder()->StoreAccumulatorInRegister(value);
6046 builder()->LoadAccumulatorWithRegister(value);
6052 Register value;
6054 value = register_allocator()->NewRegister();
6055 builder()->StoreAccumulatorInRegister(value);
6060 builder()->LoadAccumulatorWithRegister(value);
6082 Register value = register_allocator()->NewRegister();
6083 builder()->StoreAccumulatorInRegister(value);
6084 BuildPrivateSetterAccess(object, key, value);
6086 builder()->LoadAccumulatorWithRegister(value);
6092 // Restore old value for postfix expressions.
6207 // Always returns a boolean value.
6702 // We have to visit the last value even if it's true, because we need its
6703 // actual value.
6763 // We have to visit the last value even if it's false, because we need its
6764 // actual value.
6825 // We have to visit the last value even if it's nullish, because we need its
6826 // actual value.
6914 VisitForRegisterValue(property->value(), value_out);
7117 // Visits the expression |expr| for testing its boolean value and jumping to the
7118 // |then| or |other| label depending on value and short-circuit semantics
7145 // Visits the expression |expr| for testing its nullish value and jumping to the
7146 // |then| or |other| label depending on value and short-circuit semantics