Ming, Bai
Ming, Bai
In WebKit that's part of "WebCore" rather than "JSC", so right now we can't do that.
https://github.com/mbbill/JSC.js/issues/10#issuecomment-629558789
The link you posted is the foundation of JSC.js's bytecode compiler. If you look at the code JSC.js is basically calling into the bytecode compiler to dump the code cache...
unless I do another update and try again.
not hard, just takes time
maybe not very soon, but I'll try to find some time when possible
``` JSC >>> this [object GlobalObject] ``` is that what you want?
Oh I see. Right now it's not supported yet because it needs by-directional communication between the outer and inner JS environment across web assembly, but that's definitely a useful feature.
There is a way to do that. Actually I already have some initial work done. You may take a look at https://github.com/mbbill/JSC.js/blob/master/Source/JavaScriptCore/JSCJS/jscjs.cpp#L229 You can find some examples of compiling Javascript...
https://github.com/mbbill/JSC.js/blob/master/build/BUILD.gn#L151 the jsc_compile and jsc_eval_bytecode is already exported. You can try to test them with your existing setup. jsc_compile is to convert JS to bytecode. and jsc_eval_bytecode is to run...