aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/expr/FieldAccess.java
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2004-01-11 17:41:50 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2004-01-11 17:41:50 +0000
commit100b440ac93f02f249a1e9492fcac5372ebe397a (patch)
tree24462bf01c1891a41787876e0a44f4bddc21f04b /src/main/javassist/expr/FieldAccess.java
parentbd4705d214608f17b3c33339fb2399347b2f8c82 (diff)
downloadjavassist-100b440ac93f02f249a1e9492fcac5372ebe397a.tar.gz
javassist-100b440ac93f02f249a1e9492fcac5372ebe397a.zip
local variables were made available in the source text passed
to insertBefore() etc. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@68 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/expr/FieldAccess.java')
-rw-r--r--src/main/javassist/expr/FieldAccess.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/javassist/expr/FieldAccess.java b/src/main/javassist/expr/FieldAccess.java
index cc1f06f5..8598f456 100644
--- a/src/main/javassist/expr/FieldAccess.java
+++ b/src/main/javassist/expr/FieldAccess.java
@@ -188,6 +188,7 @@ public class FieldAccess extends Expr {
Bytecode bytecode = jc.getBytecode();
storeStack(params, isStatic(), paramVar, bytecode);
+ jc.recordLocalVariables(ca, pos);
jc.compileStmnt(statement);
if (read)
bytecode.addLoad(retVar, retType);