Home
last modified time | relevance | path

Searched refs:local (Results 1 – 25 of 39) sorted by relevance

12

/dalvik/dexgen/src/com/android/dexgen/rop/code/
DRegisterSpec.java50 private final LocalItem local; field in RegisterSpec
62 LocalItem local) { in intern() argument
63 theInterningItem.set(reg, type, local); in intern()
101 LocalItem local) { in make() argument
102 if (local == null) { in make()
106 return intern(reg, type, local); in make()
122 int reg, TypeBearer type, LocalItem local) { in makeLocalOptional() argument
124 return intern(reg, type, local); in makeLocalOptional()
146 private RegisterSpec(int reg, TypeBearer type, LocalItem local) { in RegisterSpec() argument
157 this.local = local; in RegisterSpec()
[all …]
DLocalItem.java66 LocalItem local = (LocalItem) other; in equals() local
68 return 0 == compareTo(local); in equals()
91 public int compareTo(LocalItem local) { in compareTo() argument
94 ret = compareHandlesNulls(name, local.name); in compareTo()
100 ret = compareHandlesNulls(signature, local.signature); in compareTo()
/dalvik/dx/src/com/android/dx/rop/code/
DRegisterSpec.java52 private final LocalItem local; field in RegisterSpec
64 LocalItem local) { in intern() argument
66 theInterningItem.set(reg, type, local); in intern()
105 LocalItem local) { in make() argument
106 if (local == null) { in make()
110 return intern(reg, type, local); in make()
126 int reg, TypeBearer type, LocalItem local) { in makeLocalOptional() argument
128 return intern(reg, type, local); in makeLocalOptional()
150 private RegisterSpec(int reg, TypeBearer type, LocalItem local) { in RegisterSpec() argument
161 this.local = local; in RegisterSpec()
[all …]
DLocalItem.java66 LocalItem local = (LocalItem) other; in equals() local
68 return 0 == compareTo(local); in equals()
91 public int compareTo(LocalItem local) { in compareTo() argument
94 ret = compareHandlesNulls(name, local.name); in compareTo()
100 ret = compareHandlesNulls(signature, local.signature); in compareTo()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DLocalEnd.java37 private final RegisterSpec local; field in LocalEnd
47 public LocalEnd(SourcePosition position, RegisterSpec local) { in LocalEnd() argument
50 if (local == null) { in LocalEnd()
54 this.local = local; in LocalEnd()
60 return new LocalEnd(getPosition(), local.withOffset(delta)); in withRegisterOffset()
66 return new LocalEnd(getPosition(), local); in withRegisters()
76 return local; in getLocal()
82 return local.toString(); in argString()
88 return "local-end " + LocalStart.localString(local); in listingString0()
DLocalStart.java34 private final RegisterSpec local; field in LocalStart
55 public LocalStart(SourcePosition position, RegisterSpec local) { in LocalStart() argument
58 if (local == null) { in LocalStart()
62 this.local = local; in LocalStart()
68 return new LocalStart(getPosition(), local.withOffset(delta)); in withRegisterOffset()
74 return new LocalStart(getPosition(), local); in withRegisters()
84 return local; in getLocal()
90 return local.toString(); in argString()
96 return "local-start " + localString(local); in listingString0()
/dalvik/dx/src/com/android/dx/dex/code/
DLocalStart.java35 private final RegisterSpec local; field in LocalStart
56 public LocalStart(SourcePosition position, RegisterSpec local) { in LocalStart() argument
59 if (local == null) { in LocalStart()
63 this.local = local; in LocalStart()
69 return new LocalStart(getPosition(), local.withOffset(delta)); in withRegisterOffset()
75 return new LocalStart(getPosition(), local); in withRegisters()
85 return local; in getLocal()
91 return local.toString(); in argString()
97 return "local-start " + localString(local); in listingString0()
103 return new LocalStart(getPosition(), mapper.map(local)); in withMapper()
/dalvik/dx/tests/100-local-mismatch/
Dexpected.txt2 local variable type mismatch: attempt to set or access a value of type int using a local variable o…
4 local variable type mismatch: attempt to set or access a value of type java.lang.Object using a loc…
6 local variable type mismatch: attempt to set or access a value of type int using a local variable o…
8 local variable type mismatch: attempt to set or access a value of type java.lang.String using a loc…
Dinfo.txt1 This is a smoke test that makes sure that dx complains when a local
3 accesses that local.
/dalvik/dx/tests/079-dex-local-variable-renumbering/
Dexpected.txt50 0002: +local v1 x int
52 0006: +local v2 f0 float
54 000a: +local v3 f1 float
56 000e: +local v4 f2 float
58 0012: +local v5 f3 float
60 0016: +local v6 f4 float
62 001a: +local v7 f5 float
64 001e: +local v8 f6 float
66 0022: +local v9 f7 float
68 0026: +local v10 f8 float
[all …]
Dinfo.txt2 local variable tables stay in sync when the register set gets renumbered
/dalvik/dx/tests/078-dex-local-variable-table/
Dexpected.txt14 0001: +local v0 x java.lang.Object
30 0002: +local v0 arr java.lang.Object[]
32 0007: -local v0 arr java.lang.Object[]
48 0001: +local v0 x int
50 0003: +local v1 foo java.lang.String
52 0005: -local v0 x int
72 0001: +local v0 x int
74 0003: +local v1 foo java.lang.String
76 000b: -local v0 x int
100 0001: +local v0 x java.lang.Object
[all …]
Dinfo.txt2 local variable tables get emitted properly.
/dalvik/dx/src/com/android/dx/cf/code/
DExecutionStack.java40 private final boolean[] local; field in ExecutionStack
56 local = new boolean[maxStack]; in ExecutionStack()
69 System.arraycopy(local, 0, result.local, 0, local.length); in copy()
141 local[i] = false; in clear()
187 local[stackPtr] = true; in setLocal()
229 return local[stackPtr - n - 1]; in peekLocal()
256 local[stackPtr - 1] = false; in pop()
DMachine.java121 public void localInfo(boolean local); in localInfo() argument
204 public void localTarget(int idx, Type type, LocalItem local); in localTarget() argument
DBaseMachine.java217 public final void localInfo(boolean local) { in localInfo() argument
218 localInfo = local; in localInfo()
260 public final void localTarget(int idx, Type type, LocalItem local) { in localTarget() argument
261 localTarget = RegisterSpec.makeLocalOptional(idx, type, local); in localTarget()
570 TypeBearer local) { in throwLocalMismatch() argument
575 local.toHuman() + in throwLocalMismatch()
DSimulator.java565 LocalVariableList.Item local = in visitLocal() local
569 if (local != null) { in visitLocal()
570 localType = local.getType(); in visitLocal()
584 machine.localInfo(local != null); in visitLocal()
590 = (local == null) ? null : local.getLocalItem(); in visitLocal()
598 = (local == null) ? null : local.getLocalItem(); in visitLocal()
/dalvik/dx/tests/121-sccp/
Dexpected.txt327 0002: +local v0 a double
329 0006: +local v2 b double
331 0008: +local v4 c double
333 000a: +local v6 d double
363 0004: +local v0 a double
365 000c: +local v2 b double
367 0010: +local v4 c double
387 0002: +local v0 a double
389 0006: +local v2 b double
391 000a: +local v4 c double
[all …]
/dalvik/dx/tests/094-scala-locals/
Dinfo.txt1 This is a smoke test of the SSA renamer's local variable preserver.
2 It tests a case observed from Scala, wherein a local variable is assigned
4 mark-local, with the second assignment eaten by copy-propogation.
/dalvik/dx/src/com/android/dx/ssa/
DSsaInsn.java141 public final void setResultLocal(LocalItem local) { in setResultLocal() argument
144 if (local != oldItem && (local == null in setResultLocal()
145 || !local.equals(result.getLocalItem()))) { in setResultLocal()
147 result.getReg(), result.getType(), local); in setResultLocal()
DNormalSsaInsn.java158 LocalItem local = assignment.getLocalItem(); in getLocalAssignment() local
160 if (local == null) { in getLocalAssignment()
/dalvik/dx/tests/114-value-propagation/
Dinfo.txt2 stack location to a local variable. (regression test)
/dalvik/dx/tests/093-ssa-invoke-range/
Dexpected.txt74 @????: mark-local-int . <- v0:"src"I
76 @????: mark-local-int . <- v2:"dest"I
110 @????: mark-local-int . <- v0:"src"I
112 @????: mark-local-int . <- v2:"dest"I
114 @????: mark-local-int . <- v1:"zero"I
179 @????: mark-local-int . <- v0:"src"I
181 @????: mark-local-int . <- v2:"dest"I
209 @????: mark-local-int . <- v0:"src"I
211 @????: mark-local-int . <- v2:"dest"I
255 @????: mark-local-int . <- v3:"offset"I
[all …]
/dalvik/dx/tests/091-ssa-const-collector/
Dexpected.txt27 @????: mark-local-int . <- v0:"foo"I
29 @????: mark-local-int . <- v1:"i"I
42 @????: mark-local-int . <- v0:"foo"I
49 @????: mark-local-int . <- v1:"i"I
62 @????: mark-local-int . <- v0:"foo"I
94 @????: mark-local-object . <- v0:"sb"Ljava/lang/StringBuilder;
228 @????: mark-local-object . <- v0:"sb"Ljava/lang/StringBuilder;
301 @????: mark-local-object . <- v1:"tr"Ljava/lang/Throwable;
399 @????: mark-local-int . <- v3:"i"I
401 @????: mark-local-int . <- v4:"j"I
[all …]
/dalvik/dx/tests/087-ssa-local-vars/
Dinfo.txt1 This is a test case to ensure proper preservation of local variable information through the registe…

12