FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
WebKit/Source/JavaScriptCore/generator/Wasm.rb at main · WebKit/WebKit · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
WebKit
/
WebKit
Public
Notifications
You must be signed in to change notification settings
Fork
2.1k
Star
10.1k
Code
Pull requests
2.6k
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
WebKit
/
Source
/
JavaScriptCore
/
generator
/
Wasm.rb
Copy path
More file actions
More file actions
Latest commit
History
History
History
29 lines (23 loc) · 516 Bytes
Breadcrumbs
WebKit
/
Source
/
JavaScriptCore
/
generator
/
Wasm.rb
Copy path
File metadata and controls
29 lines (23 loc) · 516 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
require
'json'
module
Wasm
def
self
.
normalize
(
name
)
name
.
gsub
(
/(
\.
|
\/
)/
,
"_"
)
end
def
self
.
autogenerate_opcodes
(
context
,
wasm_json
)
end
def
self
.
generate_llint_generator
(
section
)
<<-EOF
EOF
end
def
self
.
generate_binary_op
(
op
)
<<-EOF
EOF
end
def
self
.
generate_unary_op
(
op
)
<<-EOF
EOF
end
def
self
.
unprefixed_capitalized_name
(
op
)
op
.
unprefixed_name
.
gsub
(
/^.|[^a-z0-9]./
)
{
|
c
|
c
[
-
1
]
.
upcase
}
end
end
Back
|
FazBrowse Home
|
New Git URL