Lines Matching refs:value
27 TNode<Object> value, TNode<JSPromise> outer_promise,
33 // We do the `PromiseResolve(%Promise%,value)` avoiding to unnecessarily
34 // create wrapper promises. Now if {value} is already a promise with the
38 TVARIABLE(Object, var_value, value);
41 GotoIf(TaggedIsSmi(value), &if_slow_path);
42 TNode<HeapObject> value_object = CAST(value);
45 // We can skip the "constructor" lookup on {value} if it's [[Prototype]]
56 // At this point, {value} doesn't have the initial promise prototype or
57 // the promise @@species protector was invalidated, but {value} could still
63 context, value, isolate()->factory()->constructor_string());
72 // We need to mark the {value} wrapper as having {outer_promise}
76 CallBuiltin(Builtin::kResolvePromise, native_context, var_value.value(),
77 value);
82 value = var_value.value();
136 var_throwaway = NewJSPromise(context, value);
142 native_context, value, outer_promise, on_reject,
148 return CallBuiltin(Builtin::kPerformPromiseThen, native_context, value,
149 on_resolve, on_reject, var_throwaway.value());
211 auto value = Parameter<Object>(Descriptor::kValue);
219 CallBuiltin(Builtin::kCreateIterResultObject, context, value, done);