Skip to content

Commit

Permalink
Remove isSynchronized property from Frame now that we have the isSync…
Browse files Browse the repository at this point in the history
…hronized property in MethodInfo
  • Loading branch information
marco-c committed Oct 10, 2014
1 parent 13dbd3b commit 5a238ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ var Frame = function(methodInfo, locals, localsBase) {
this.locals = locals;
this.localsBase = localsBase;

this.isSynchronized = methodInfo.isSynchronized;
this.lockObject = null;

this.profileData = null;
Expand Down
2 changes: 1 addition & 1 deletion vm.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ VM.execute = function(ctx) {
frame = ctx.pushFrame(methodInfo);
stack = frame.stack;
cp = frame.cp;
if (frame.isSynchronized) {
if (methodInfo.isSynchronized) {
if (!frame.lockObject) {
frame.lockObject = methodInfo.isStatic
? methodInfo.classInfo.getClassObject(ctx)
Expand Down

0 comments on commit 5a238ca

Please sign in to comment.