Lines Matching defs:context

231   TNode<Context> context = GetContext();
239 TNode<Object> result = CallBuiltin(Builtin::kStoreGlobalIC, context, name,
251 // LdaContextSlot <context> <slot_index> <depth>
253 // Load the object in |slot_index| of the context at |depth| in the context
254 // chain starting at |context| into the accumulator.
256 TNode<Context> context = CAST(LoadRegisterAtOperandIndex(0));
259 TNode<Context> slot_context = GetContextAtDepth(context, depth);
265 // LdaImmutableContextSlot <context> <slot_index> <depth>
267 // Load the object in |slot_index| of the context at |depth| in the context
268 // chain starting at |context| into the accumulator.
270 TNode<Context> context = CAST(LoadRegisterAtOperandIndex(0));
273 TNode<Context> slot_context = GetContextAtDepth(context, depth);
281 // Load the object in |slot_index| of the current context into the accumulator.
292 // Load the object in |slot_index| of the current context into the accumulator.
301 // StaContextSlot <context> <slot_index> <depth>
303 // Stores the object in the accumulator into |slot_index| of the context at
304 // |depth| in the context chain starting at |context|.
307 TNode<Context> context = CAST(LoadRegisterAtOperandIndex(0));
310 TNode<Context> slot_context = GetContextAtDepth(context, depth);
318 // context.
333 TNode<Context> context = GetContext();
334 TNode<Object> result = CallRuntime(Runtime::kLoadLookupSlot, context, name);
345 TNode<Context> context = GetContext();
347 CallRuntime(Runtime::kLoadLookupSlotInsideTypeof, context, name);
360 TNode<Context> context = GetContext();
366 // Check for context extensions to allow the fast path.
368 GotoIfHasContextExtensionUpToDepth(context, depth, &slowpath);
370 // Fast path does a normal load context.
381 TNode<Object> result = CallRuntime(function_id, context, name);
412 TNode<Context> context = GetContext();
417 // Check for context extensions to allow the fast path
418 GotoIfHasContextExtensionUpToDepth(context, depth, &slowpath);
437 TNode<Object> result = CallRuntime(function_id, context, name);
469 TNode<Context> context = GetContext();
485 CallRuntime(Runtime::kStoreLookupSlot_Strict, context, name, value);
499 context, name, value);
506 CallRuntime(Runtime::kStoreLookupSlot_Sloppy, context, name, value);
528 // Load the name and context lazily.
565 TNode<Context> context = GetContext();
568 CallBuiltin(Builtin::kLoadSuperIC, context, receiver,
583 TNode<Context> context = GetContext();
586 var_result = CallBuiltin(Builtin::kKeyedLoadIC, context, object, name, slot,
605 TNode<Context> context = GetContext();
608 CallStub(ic, context, object, name, value, slot, maybe_vector);
655 TNode<Context> context = GetContext();
662 TNode<Object> result = CallBuiltin(Builtin::kKeyedStoreIC, context, object,
687 TNode<Context> context = GetContext();
690 var_result = CallBuiltin(Builtin::kDefineKeyedOwnIC, context, object, name,
711 TNode<Context> context = GetContext();
714 CallBuiltin(Builtin::kStoreInArrayLiteralIC, context, array, index, value,
742 TNode<Context> context = GetContext();
744 CallRuntime(Runtime::kDefineKeyedOwnPropertyInLiteral, context, object, name,
754 TNode<Context> context = GetContext();
756 CallRuntime(Runtime::kCollectTypeProfile, context, position, value,
764 // identified by <cell_index>. <depth> is the depth of the current context
765 // relative to the module context.
809 // <depth> is the depth of the current context relative to the module context.
846 // PushContext <context>
848 // Saves the current context in <context>, and pushes the accumulator as the
849 // new current context.
858 // PopContext <context>
860 // Pops the current context and sets <context> as the new context.
862 TNode<Context> context = CAST(LoadRegisterAtOperandIndex(0));
863 SetContext(context);
874 const LazyNode<Context>& context, TNode<Object> left, TNode<Object> right,
881 TNode<Context> context = GetContext();
887 (binop_asm.*generator)([=] { return context; }, lhs, rhs, slot_index,
897 TNode<Context> context = GetContext();
903 (binop_asm.*generator)([=] { return context; }, lhs, rhs, slot_index,
1006 TNode<Context> context = GetContext();
1012 bitwise_op, left, right, [=] { return context; }, slot_index,
1025 TNode<Context> context = GetContext();
1029 bitwise_op, left, right, [=] { return context; }, slot_index,
1115 TNode<Context> context = GetContext();
1121 context, value, slot_index, maybe_feedback_vector,
1160 TNode<Context> context = GetContext();
1166 context, value, slot_index, maybe_feedback_vector,
1178 TNode<Context> context = GetContext();
1179 TNode<Object> result = CallBuiltin(Builtin::kToName, context, object);
1203 TNode<Context> context = GetContext();
1204 TNode<Object> result = CallBuiltin(Builtin::kToObject, context, accumulator);
1222 TNode<Context> context = GetContext();
1228 context, value, slot_index, maybe_feedback_vector,
1240 TNode<Context> context = GetContext();
1246 context, value, slot_index, maybe_feedback_vector,
1322 TNode<Context> context = GetContext();
1324 CallBuiltin(Builtin::kDeleteProperty, context, object, key,
1337 TNode<Context> context = GetContext();
1339 CallBuiltin(Builtin::kDeleteProperty, context, object, key,
1373 TNode<Context> context = GetContext();
1376 CollectCallFeedback(function, receiver, context, maybe_feedback_vector,
1380 CallJSAndDispatch(function, context, args, receiver_mode);
1402 TNode<Context> context = GetContext();
1405 CollectCallFeedback(function, receiver, context, maybe_feedback_vector,
1410 CallJSAndDispatch(function, context, Int32Constant(arg_count),
1415 function, context, Int32Constant(arg_count), receiver_mode,
1420 function, context, Int32Constant(arg_count), receiver_mode,
1426 function, context, Int32Constant(arg_count), receiver_mode,
1486 TNode<Context> context = GetContext();
1487 TNode<Object> result = CallRuntimeN(function_id, context, args, 1);
1500 TNode<Context> context = GetContext();
1502 GenerateInvokeIntrinsic(this, function_id, context, args);
1517 TNode<Context> context = GetContext();
1519 CallRuntimeN<PairT<Object, Object>>(function_id, context, args, 2);
1535 // Get the function to call from the native context.
1536 TNode<Context> context = GetContext();
1537 TNode<NativeContext> native_context = LoadNativeContext(context);
1541 CallJSAndDispatch(function, context, args,
1556 TNode<Context> context = GetContext();
1559 CallJSWithSpreadAndDispatch(callable, context, args, slot_id,
1575 TNode<Context> context = GetContext();
1577 constructor, context, new_target, args, slot_id, maybe_feedback_vector);
1594 TNode<Context> context = GetContext();
1595 TNode<Object> result = Construct(constructor, context, new_target, args,
1610 TNode<Context> context = GetContext();
1616 result = Equal(lhs, rhs, context, &var_type_feedback);
1625 result = RelationalComparison(compare_op, lhs, rhs, context,
1706 TNode<Context> context = GetContext();
1709 var_result = CallBuiltin(Builtin::kKeyedHasIC, context, object, name, slot,
1724 TNode<Context> context = GetContext();
1726 CollectInstanceOfFeedback(callable, context, maybe_feedback_vector, slot_id);
1727 SetAccumulator(InstanceOf(object, callable, context));
2175 TNode<Context> context = GetContext();
2213 OnStackReplacement(context, relative_jump);
2263 TNode<Context> context = GetContext();
2269 pattern, flags, context);
2281 TNode<Context> context = GetContext();
2296 CAST(feedback_vector), slot, context, TRACK_ALLOCATION_SITE,
2310 CallRuntime(Runtime::kCreateArrayLiteral, context, feedback_vector,
2323 TNode<Context> context = GetContext();
2331 CAST(maybe_feedback_vector), slot, context);
2337 LoadNativeContext(context));
2356 TNode<Context> context = GetContext();
2358 CallBuiltin(Builtin::kIterableToListWithSymbolLookup, context, iterable);
2396 TNode<Context> context = GetContext();
2404 CallRuntime(Runtime::kCreateObjectLiteral, context, feedback_vector,
2416 TNode<Context> context = GetContext();
2419 constructor_assembler.CreateEmptyObjectLiteral(context);
2436 TNode<Context> context = GetContext();
2438 TNode<Object> result = CallBuiltin(Builtin::kCloneObjectIC, context, source,
2450 TNode<Context> context = GetContext();
2458 CallBuiltin(Builtin::kGetTemplateObject, context, shared_info,
2471 TNode<Context> context = GetContext();
2488 CallBuiltin(Builtin::kFastNewClosure, context, shared, feedback_cell);
2502 CallRuntime(Runtime::kNewClosure, context, shared, feedback_cell);
2509 TNode<Object> result = CallRuntime(Runtime::kNewClosure_Tenured, context,
2519 // Creates a new block context with the scope info constant at |index|.
2522 TNode<Context> context = GetContext();
2523 SetAccumulator(CallRuntime(Runtime::kPushBlockContext, context, scope_info));
2529 // Creates a new context for a catch block with the |exception| in a register
2534 TNode<Context> context = GetContext();
2536 CallRuntime(Runtime::kPushCatchContext, context, exception, scope_info));
2542 // Creates a new context with number of |slots| for the function closure.
2547 TNode<Context> context = GetContext();
2550 scope_info, slots, context, FUNCTION_SCOPE));
2556 // Creates a new context with number of |slots| for an eval closure.
2561 TNode<Context> context = GetContext();
2564 scope_info, slots, context, EVAL_SCOPE));
2570 // Creates a new context with the ScopeInfo at |scope_info_idx| for a
2575 TNode<Context> context = GetContext();
2577 CallRuntime(Runtime::kPushWithContext, context, object, scope_info));
2586 TNode<Context> context = GetContext();
2605 TNode<JSObject> result = EmitFastNewSloppyArguments(context, closure);
2613 CallRuntime(Runtime::kNewSloppyArguments, context, closure);
2623 TNode<Context> context = GetContext();
2627 builtins_assembler.EmitFastNewStrictArguments(context, closure);
2637 TNode<Context> context = GetContext();
2640 builtins_assembler.EmitFastNewRestArguments(context, closure);
2661 TNode<Context> context = GetContext();
2662 CallRuntime(Runtime::kThrow, context, exception);
2673 TNode<Context> context = GetContext();
2674 CallRuntime(Runtime::kReThrow, context, exception);
2764 TNode<Context> context = GetContext();
2775 CallRuntime(Runtime::kThrowNotSuperConstructor, context, constructor,
2787 TNode<Context> context = GetContext();
2788 CallRuntime(Runtime::kHandleDebuggerStatement, context);
2797 TNode<Context> context = GetContext(); \
2800 Runtime::kDebugBreakOnBytecode, context, accumulator); \
2816 TNode<Context> context = GetContext();
2818 CallBuiltin(Builtin::kIncBlockCounter, context, closure, coverage_array_slot);
2830 TNode<Context> context = GetContext();
2847 CallRuntime(Runtime::kForInEnumerate, context, receiver);
2962 TNode<Context> context = GetContext();
2968 CallBuiltin(Builtin::kGetIteratorWithFeedback, context, receiver,
3000 // the current context, |suspend_id|, and the current bytecode offset
3008 TNode<Context> context = GetContext();
3018 StoreObjectField(generator, JSGeneratorObject::kContextOffset, context);
3035 // generator's state (overwriting it with kGeneratorExecuting), sets the context
3036 // to the generator's resume context, and performs state dispatch on the
3053 TNode<Context> context =
3055 SetContext(context);