This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// commit: 21687be235d506b9712e83c1e6d8e0231cc9adfd | |
// | |
// Build: | |
// cd /path/to/Webkit | |
// ./Tools/Scripts/build-jsc --jsc-only --release --cmakeargs="-DENABLE_STATIC_JSC=ON -DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++' -DCMAKE_C_FLAGS='-g' -DCMAKE_CXX_FLAGS='-g'" | |
const MESSAGE_PRINT = print | |
const dc = describe | |
const JIT_COUNT = 10000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let DEBUG = print | |
let JIT_COUNT = 10000 | |
class Int64 { | |
constructor(val) { | |
this.buff = new ArrayBuffer(8) | |
this.u32 = new Uint32Array(this.buff) | |
this.f64 = new Float64Array(this.buff) | |
switch (typeof val) { |