Home
last modified time | relevance | path

Searched refs:tenv (Results 1 – 5 of 5) sorted by relevance

/external/turbine/java/com/google/turbine/types/
DErasure.java28 public static Type erase(Type ty, Function<TyVarSymbol, SourceTypeBoundClass.TyVarInfo> tenv) { in erase() argument
36 return eraseArrayTy((Type.ArrayTy) ty, tenv); in erase()
38 return eraseTyVar((TyVar) ty, tenv); in erase()
45 TyVar ty, Function<TyVarSymbol, SourceTypeBoundClass.TyVarInfo> tenv) { in eraseTyVar() argument
46 SourceTypeBoundClass.TyVarInfo info = tenv.apply(ty.sym()); in eraseTyVar()
48 return erase(info.superClassBound(), tenv); in eraseTyVar()
51 return erase(info.interfaceBounds().get(0), tenv); in eraseTyVar()
57 Type.ArrayTy ty, Function<TyVarSymbol, SourceTypeBoundClass.TyVarInfo> tenv) { in eraseArrayTy() argument
58 return new Type.ArrayTy(erase(ty.elementType(), tenv), ty.annos()); in eraseArrayTy()
/external/turbine/java/com/google/turbine/binder/
DBinder.java93 Env<ClassSymbol, SourceTypeBoundClass> tenv = in bind() local
97 tenv = in bind()
99 syms, tenv, CompoundEnv.<ClassSymbol, TypeBoundClass>of(classPathEnv).append(tenv)); in bind()
100 tenv = in bind()
102 syms, tenv, CompoundEnv.<ClassSymbol, TypeBoundClass>of(classPathEnv).append(tenv)); in bind()
103 tenv = in bind()
105 syms, tenv, CompoundEnv.<ClassSymbol, TypeBoundClass>of(classPathEnv).append(tenv)); in bind()
109 result.put(sym, tenv.get(sym)); in bind()
197 Env<ClassSymbol, TypeBoundClass> tenv) { in canonicalizeTypes() argument
200 builder.put(sym, CanonicalTypeBinder.bind(sym, stenv.get(sym), tenv)); in canonicalizeTypes()
[all …]
/external/turbine/java/com/google/turbine/lower/
DLower.java186 Function<TyVarSymbol, TyVarInfo> tenv = new TyVarEnv(m.tyParams()); in lowerMethod() local
188 String desc = methodDescriptor(m, tenv); in lowerMethod()
193 exceptions.add(sig.descriptor(((ClassTy) Erasure.erase(e, tenv)).sym())); in lowerMethod()
256 private String methodDescriptor(MethodInfo m, Function<TyVarSymbol, TyVarInfo> tenv) { in methodDescriptor() argument
260 fparams.add(sig.signature(Erasure.erase(t.type(), tenv))); in methodDescriptor() local
262 TySig result = sig.signature(Erasure.erase(m.returnType(), tenv)); in methodDescriptor()
269 Function<TyVarSymbol, TyVarInfo> tenv = new TyVarEnv(Collections.emptyMap()); in lowerField() local
270 String desc = SigWriter.type(sig.signature(Erasure.erase(f.type(), tenv))); in lowerField()
/external/v8/src/wasm/
Dfunction-body-decoder.cc948 SsaEnv* tenv = Split(fenv); in DecodeFunctionBody() local
950 BUILD(BranchNoHint, cond.node, &tenv->control, &fenv->control); in DecodeFunctionBody()
951 ssa_env_ = tenv; in DecodeFunctionBody()
/external/valgrind/VEX/priv/
Dir_opt.c3883 HashHW* tenv = newHHW(); /* :: IRTemp -> IRTemp */ in do_cse_BB() local
4000 subst_AvailExpr( tenv, eprime ); in do_cse_BB()
4013 addToHHW( tenv, (HWord)t, (HWord)q ); in do_cse_BB()