Home | History | Annotate | Download | only in src

Lines Matching defs:variable

2516     Bailout("Unsupported phi use of const variable");
3326 return Bailout("ForInStatement with non-local each variable");
3329 Variable* each_var = stmt->each()->AsVariableProxy()->var();
3542 Variable* var, LookupResult* lookup, bool is_store) {
3559 HValue* HGraphBuilder::BuildContextChainWalk(Variable* var) {
3576 Variable* variable = expr->var();
3577 switch (variable->location()) {
3578 case Variable::UNALLOCATED: {
3579 if (variable->mode() == LET || variable->mode() == CONST_HARMONY) {
3580 return Bailout("reference to global harmony declared variable");
3585 isolate()->factory()->GlobalConstantFor(variable->name());
3594 LookupGlobalProperty(variable, &lookup, false);
3614 variable->name(),
3621 case Variable::PARAMETER:
3622 case Variable::LOCAL: {
3623 HValue* value = environment()->Lookup(variable);
3625 ASSERT(variable->mode() == CONST ||
3626 variable->mode() == CONST_HARMONY ||
3627 variable->mode() == LET);
3628 return Bailout("reference to uninitialized variable");
3633 case Variable::CONTEXT: {
3634 HValue* context = BuildContextChainWalk(variable);
3635 HLoadContextSlot* instr = new(zone()) HLoadContextSlot(context, variable);
3639 case Variable::LOOKUP:
3640 return Bailout("reference to a variable which requires dynamic lookup");
4167 void HGraphBuilder::HandleGlobalVariableAssignment(Variable* var,
4210 Variable* var = proxy->var();
4218 case Variable::UNALLOCATED:
4225 case Variable::PARAMETER:
4226 case Variable::LOCAL:
4233 case Variable::CONTEXT: {
4239 // direct way to detect that the variable is a parameter so we do
4276 case Variable::LOOKUP:
4376 Variable* var = proxy->var();
4400 case Variable::UNALLOCATED:
4408 case Variable::PARAMETER:
4409 case Variable::LOCAL: {
4415 return Bailout("assignment to let variable before initialization");
4427 case Variable::CONTEXT: {
4433 // to detect that the variable is a parameter.
4478 case Variable::LOOKUP:
4479 return Bailout("assignment to LOOKUP variable");
5292 // with arguments object is enabled and the arguments-variable is
5898 Variable* var = proxy->var();
6157 Variable* var = proxy->var();
6159 Bailout("delete with global variable");
6162 // really a variable, though we implement it as one. The
6169 Bailout("delete with non-global variable");
6172 // Result of deleting non-property, non-variable reference is true.
6335 Variable* var = proxy->var();
6339 // Argument of the count operation is a variable, not a property.
6348 case Variable::UNALLOCATED:
6355 case Variable::PARAMETER:
6356 case Variable::LOCAL:
6360 case Variable::CONTEXT: {
6366 // way to detect that the variable is a parameter so we use a
6389 case Variable::LOOKUP:
6390 return Bailout("lookup variable in count operation");
6994 Variable* var = decl->proxy()->var();
7034 Variable* var = proxy->var();
7038 case Variable::UNALLOCATED:
7041 case Variable::PARAMETER:
7042 case Variable::LOCAL:
7043 case Variable::CONTEXT:
7063 case Variable::LOOKUP: