зеркало из https://github.com/mozilla/pluotsorbet.git
Merge commit '51d21fcf6922bb22f932c82881c429affed60216' into jitjit
Conflicts: vm.js
This commit is contained in:
Коммит
1a76a3aa53
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;
|
||||
|
|
4
vm.js
4
vm.js
|
@ -85,7 +85,7 @@ function classInitCheck(ctx, frame, classInfo, ip) {
|
|||
|
||||
function pushFrame(ctx, methodInfo) {
|
||||
var frame = ctx.pushFrame(methodInfo);
|
||||
if (frame.isSynchronized) {
|
||||
if (methodInfo.isSynchronized) {
|
||||
if (!frame.lockObject) {
|
||||
frame.lockObject = methodInfo.isStatic
|
||||
? methodInfo.classInfo.getClassObject(ctx)
|
||||
|
@ -2413,7 +2413,7 @@ VM.compile = function(methodInfo, ctx) {
|
|||
Instrument.callResumeHooks(frame);\n\
|
||||
\n\
|
||||
var callee = ctx.pushFrame(toCallMethodInfo);\n\
|
||||
if (callee.isSynchronized) {\n\
|
||||
if (toCallMethodInfo.isSynchronized) {\n\
|
||||
if (!callee.lockObject) {\n\
|
||||
callee.lockObject = toCallMethodInfo.isStatic\n\
|
||||
? toCallMethodInfo.classInfo.getClassObject(ctx)\n\
|
||||
|
|
Загрузка…
Ссылка в новой задаче