blob: 7f379df53ba95ab6208afa2451797acbf8b0babc [file]
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
function AsmModule() {
"use asm";
function f(a) {
a = a|0;
switch (a|0) {
case 103:
{
a = (a+a)|0
break;
}
}
return a|0;
}
return {
f : f
};
}
var asmModule = new AsmModule();
print(asmModule.f(103));
print(asmModule.f(103));