Lines Matching refs:CONTEXT
1040 HValue* context,
1043 context_(context),
1055 HValue* context,
1059 context_(context),
1716 LoopBuilder loop(this, context(), LoopBuilder::kPostIncrement);
2382 LoopBuilder builder(this, context(), LoopBuilder::kPostIncrement);
2411 LoopBuilder builder(this, context(), LoopBuilder::kPostIncrement);
2605 // Get the global context, then the native context
2616 Add<HConstant>(static_cast<int32_t>(Context::ARRAY_FUNCTION_INDEX));
2657 // No need for a context lookup if the kind_ matches the initial
2665 static_cast<int32_t>(Context::JS_ARRAY_MAPS_INDEX));
2698 HInstruction* mul = HMul::NewImul(builder()->zone(), builder()->context(),
2702 HInstruction* total_size = HAdd::New(builder()->zone(), builder()->context(),
3347 // The AstContext constructor pushed on the context stack. This newed
3369 // Implementation of utility classes to represent an expression's context in
3371 AstContext::AstContext(HOptimizedGraphBuilder* owner, Expression::Context kind)
3864 HInstruction* context = Add<HContext>();
3865 environment()->BindContext(context);
4056 AstContext* context = call_context();
4057 if (context == NULL) {
4063 // Return from an inlined construct call. In a test context the return value
4064 // will always evaluate to true, in a value context the return value needs
4066 if (context->IsTest()) {
4067 TestContext* test = TestContext::cast(context);
4070 } else if (context->IsEffect()) {
4074 ASSERT(context->IsValue());
4094 if (context->IsTest()) {
4096 context->ReturnValue(rhs);
4097 } else if (context->IsEffect()) {
4100 ASSERT(context->IsValue());
4106 // expression context of the call.
4107 if (context->IsTest()) {
4108 TestContext* test = TestContext::cast(context);
4110 } else if (context->IsEffect()) {
4114 ASSERT(context->IsValue());
4629 // Visit the true and false subexpressions in the same AST context as the
4679 HValue* context = environment()->context();
4682 context = Add<HOuterContext>(context);
4684 return context;
4755 case Variable::CONTEXT: {
4756 HValue* context = BuildContextChainWalk(variable);
4757 HLoadContextSlot* instr = new(zone()) HLoadContextSlot(context, variable);
5897 case Variable::CONTEXT: {
5902 // Parameters will be allocated to context slots. We have no
5929 HValue* context = BuildContextChainWalk(var);
5931 context, var->index(), mode, Top());
6025 // We do not allow the arguments object to occur in a context where it
6034 case Variable::CONTEXT: {
6039 // Parameters will rewrite to context slots. We have no direct way
6075 HValue* context = BuildContextChainWalk(var);
6077 context, var->index(), mode, Top());
6105 // currently only occur in an effect context.
7070 TraceInline(target, caller, "target has context-allocated variables");
7146 // Save the pending call context. Set up new one for the inlined function.
7163 HConstant* context = Add<HConstant>(Handle<Context>(target->context()));
7164 inner_env->BindContext(context);
7216 // Falling off the end of an inlined construct call. In a test context the
7217 // return value will always evaluate to true, in a value context the
7260 // Pop the return test context from the expression context stack.
7265 // Forward to the real test context.
7388 HInstruction* op = HMul::NewImul(zone(), context(), left, right);
7513 HInstruction* result = HMul::NewImul(zone(), context(), left, right);
8037 // Verify we are still calling the array function for our native context.
8373 TestContext* context = TestContext::cast(ast_context());
8375 context->if_false(),
8376 context->if_true());
8484 // element for postfix operations in a non-effect context. The return
8516 case Variable::CONTEXT: {
8521 // Parameters will rewrite to context slots. We have no direct
8532 HValue* context = BuildContextChainWalk(var);
8535 HStoreContextSlot* instr = Add<HStoreContextSlot>(context, var->index(),
8571 // Drop object and key to push it again in the effect context below.
8971 // Visit the right subexpression in the same AST context as the entire
8980 TestContext* context = TestContext::cast(ast_context());
8986 context->if_false()));
8989 context->if_true(),
8994 // context as the entire expression.
9039 // In an effect context, we don't need the value of the left subexpression,
9637 case Variable::CONTEXT:
9640 HValue* context = environment()->context();
9642 context, variable->index(), HStoreContextSlot::kNoCheck, value);
9675 case Variable::CONTEXT: {
9678 HValue* context = environment()->context();
9680 context, variable->index(), HStoreContextSlot::kNoCheck, value);
10448 // correct context.
10475 inner->SetValueAt(arity + 1, context());