зеркало из https://github.com/mozilla/pluotsorbet.git
Merge pull request #432 from marco-c/remove_frame_issynchronized
Remove isSynchronized property from Frame now that we have it in MethodInfo
This commit is contained in:
Коммит
51d21fcf69
1
frame.js
1
frame.js
|
@ -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;
|
||||
|
|
2
vm.js
2
vm.js
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче