Home | History | Annotate | Download | only in src

Lines Matching refs:LOOKUP

151     instr->AddAssignedValue(index, environment->Lookup(index));
1216 HValue* HValueMap::Lookup(HValue* value) const {
1685 HValue* other = map->Lookup(instr);
2866 HValue* receiver = environment()->Lookup(0);
3542 Variable* var, LookupResult* lookup, bool is_store) {
3547 global->Lookup(*var->name(), lookup);
3548 if (!lookup->IsFound() ||
3549 lookup->type() != NORMAL ||
3550 (is_store && lookup->IsReadOnly()) ||
3551 lookup->holder() != *global) {
3592 LookupResult lookup(isolate());
3594 LookupGlobalProperty(variable, &lookup, false);
3603 Handle<JSGlobalPropertyCell> cell(global->GetPropertyCell(&lookup));
3605 new(zone()) HLoadGlobalCell(cell, lookup.GetPropertyDetails());
3623 HValue* value = environment()->Lookup(variable);
3639 case Variable::LOOKUP:
3640 return Bailout("reference to a variable which requires dynamic lookup");
3917 // Sets the lookup result and returns true if the store can be inlined.
3920 LookupResult* lookup) {
3921 type->LookupInDescriptors(NULL, *name, lookup);
3922 if (!lookup->IsFound()) return false;
3923 if (lookup->type() == FIELD) return true;
3924 return (lookup->type() == MAP_TRANSITION) &&
3931 LookupResult* lookup) {
3932 ASSERT(lookup->type() == FIELD || lookup->type() == MAP_TRANSITION);
3933 if (lookup->type() == FIELD) {
3934 return lookup->GetLocalFieldIndexFromMap(*type);
3936 Map* transition = lookup->GetTransitionMapFromMap(*type);
3946 LookupResult* lookup,
3954 int index = ComputeStoredFieldIndex(type, name, lookup);
3966 if (lookup->type() == MAP_TRANSITION) {
3967 Handle<Map> transition(lookup->GetTransitionMapFromMap(*type));
3997 LookupResult lookup(isolate());
4000 ComputeStoredField(type, name, &lookup);
4003 ? BuildStoreNamedField(object, name, value, type, &lookup,
4019 LookupResult lookup(isolate());
4022 ComputeStoredField(types->first(), name, &lookup);
4025 ? BuildStoreNamedField(object, name, value, types->first(), &lookup,
4043 LookupResult lookup(isolate());
4044 if (ComputeStoredField(map, name, &lookup)) {
4058 BuildStoreNamedField(object, name, value, map, &lookup, false);
4126 LookupResult lookup(isolate());
4171 LookupResult lookup(isolate());
4172 GlobalPropertyAccess type = LookupGlobalProperty(var, &lookup, true);
4175 Handle<JSGlobalPropertyCell> cell(global->GetPropertyCell(&lookup));
4177 new(zone()) HStoreGlobalCell(value, cell, lookup.GetPropertyDetails());
4276 case Variable::LOOKUP:
4277 return Bailout("compound assignment to lookup slot");
4387 HValue* old_value = environment()->Lookup(var);
4413 HValue* env_value = environment()->Lookup(var);
4478 case Variable::LOOKUP:
4479 return Bailout("assignment to LOOKUP variable");
4511 LookupResult* lookup,
4519 int index = lookup->GetLocalFieldIndexFromMap(*type);
4550 LookupResult lookup(isolate());
4551 map->LookupInDescriptors(NULL, *name, &lookup);
4552 if (lookup.IsFound() && lookup.type() == FIELD) {
4556 &lookup,
4558 } else if (lookup.IsFound() && lookup.type() == CONSTANT_FUNCTION) {
4562 Handle<JSFunction> function(lookup.GetConstantFunctionFromMap(*map));
4940 if (!environment()->Lookup(proxy->var())->CheckFlag(HValue::kIsArguments)) {
5745 HValue* arg_two_value = environment()->Lookup(arg_two->var());
5786 PushAndAdd(new(zone()) HPushArgument(arguments_env->Lookup(i)));
5903 LookupResult lookup(isolate());
5904 GlobalPropertyAccess type = LookupGlobalProperty(var, &lookup, false);
5908 known_global_function = expr->ComputeGlobalTarget(global, &lookup);
6077 // Lookup table for generators for runtime calls that are generated inline.
6389 case Variable::LOOKUP:
6390 return Bailout("lookup variable in count operation");
6862 LookupResult lookup(isolate());
6863 global->Lookup(*name, &lookup);
6864 if (lookup.IsFound() &&
6865 lookup.type() == NORMAL &&
6866 lookup.GetValue()->IsJSFunction()) {
6867 Handle<JSFunction> candidate(JSFunction::cast(lookup.GetValue()));
7063 case Variable::LOOKUP:
7064 return Bailout("unsupported lookup slot in declaration");