forked from chakra-core/ChakraCore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbasic.asm_module.js
More file actions
31 lines (26 loc) · 846 Bytes
/
basic.asm_module.js
File metadata and controls
31 lines (26 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//-------------------------------------------------------------------------------------------------------
// 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($a,$b,$c){
'use asm';
function func0()
{
return 2|0;
}
function func1(param0)
{
param0 = param0|0;
var local0 = 0;
if ((26|0) > (25|0))
{
local0 = (local0 + 4)|0;
}
local0 = (local0 + 4)|0;
local0 = (local0 + 4)|0;
local0 = (local0 + 2)|0;
return (local0 + 42) | 0;
//return 0;
}
return {a:func1};
}