blob: 0b434a23442bec9e1fc77356732b41a2d6679ea5 [file] [log] [blame]
//-------------------------------------------------------------------------------------------------------
// 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));