This file contains hidden or 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
| (function(file) { | |
| var ffi = require("lib/ffi"); | |
| var std = require("lib/stdlib"); | |
| var pid = ffi.c.fork(); | |
| })('tests/00-runtime/es5-cmp.js'); |
This file contains hidden or 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
| (function(file) { | |
| var ffi = require("lib/ffi"); | |
| var pid = ffi.c.fork(); | |
| if (pid < 0) { | |
| std.exit(1); | |
| } | |
| try { |
This file contains hidden or 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
| Starting test-runner.js... | |
| --- | |
| Running: ./tests/00-runtime/es5-cmp.js... | |
| ***** FAILED! ***** | |
| Running: ./tests/00-runtime/for-in-continue.js... | |
| Starting test-runner.js... | |
| --- | |
| Running: ./tests/00-runtime/es5-cmp.js... | |
| ***** FAILED! ***** | |
| Running: ./tests/00-runtime/for-in-continue.js... |
This file contains hidden or 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
| 7FFF9004B36B | |
| 7FFF8A424277 | |
| 7FFF9004B36B | |
| 7FFF9004B36B | |
| 7FFF8A424277 | |
| 7FFF9004B36B | |
| 7FFF9004B36B | |
| 7FFF8A424277 | |
| 7FFF9004B36B | |
| 7FFF9004B36B |
This file contains hidden or 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
| $204 = make_value $2, $3 | |
| $4 = is_object $204 | |
| for_test(5BD1B): | |
| $208 = obj_read_shape $207 | |
| break => if_join(5BD1F), if_join(5BD1F) | |
| if_join(5BD1F): | |
| capture_shape $207, $208 => if_true(5BD21), if_join(5BD23) | |
| if_join(5BD23): | |
| $209 = obj_get_prop $207, "c" => call_merge(5BD0C), if_join(5BD2F) | |
| call_merge(5BD0C): |
This file contains hidden or 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
| function Vector3(x, y, z) { | |
| this.x = x; | |
| this.y = y; | |
| this.z = z; | |
| } | |
| Vector3.prototype.magnitude = function() { | |
| return Math.sqrt(Math.pow(this.x, 2) + Math.pow(this.y, 2) + Math.pow(this.z, 2)); | |
| }; |
This file contains hidden or 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
| make builddeps && CXX=/usr/bin/clang++ CC=/usr/bin/clang CPP="/usr/bin/clang -E" LINK=/usr/bin/clang++ CXX_host=/usr/bin/clang++ CC_host=/usr/bin/clang CPP_host="/usr/bin/clang -E" LINK_host=/usr/bin/clang++ GYP_DEFINES="clang=1" make -j4 console=readline disassembler=on x64.debug | |
| d8 --trace_turbo --turbo_types --always_opt --turbo_filter=start vector3.js | |
| ../../v8/out/x64.debug/d8 \ | |
| --trace_turbo \ | |
| --turbo_source_positions \ | |
| --turbo_deoptimization \ | |
| --trace_deopt \ | |
| --print_opt_code \ |
This file contains hidden or 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
| alias v8build="GYP_DEFINES=\"v8_enable_disassembler=1 v8_object_print=1\" disassembler=on objectprint=on make -j4 native" | |
| alias d8asm="d8 --trace-hydrogen --trace-deopt --code-comments --print-opt-code" | |
| alias d8asm2="d8 --trace_hydrogen --trace_phase=Z --print_op_code --trace_deopt --code_comments --hydrogen_track_positions --redirect_code_traces --redirect_code_traces_to=code.asm" |
This file contains hidden or 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
| Running: ./tests/00-runtime/es5-cmp.js... | |
| Running: ./tests/00-runtime/has-own-property.js... | |
| Running: ./tests/01-stdlib/array.js... | |
| ***** FAILED! ***** | |
| Running: ./tests/01-stdlib/boolean.js... | |
| Running: ./tests/01-stdlib/function.js... | |
| Running: ./tests/01-stdlib/global.js... | |
| Running: ./tests/01-stdlib/json.js... | |
| Running: ./tests/01-stdlib/map.js... | |
| Running: ./tests/01-stdlib/math.js... |
This file contains hidden or 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
| paulfryzel@ao:~/github/Higgs/source(osx-tests+*)$ make ffidev | |
| dmd -m64 -O -L-ldl -J./ -ofhiggs-test util/error.d util/id.d util/string.d util/misc.d util/bitset.d util/os.d parser/lexer.d parser/ast.d parser/vars.d parser/parser.d ir/ir.d ir/ops.d ir/iir.d ir/ast.d ir/peephole.d ir/slotalloc.d ir/livevars.d ir/inlining.d ir/typeprop.d runtime/vm.d runtime/layout.d runtime/string.d runtime/object.d runtime/gc.d jit/x86.d jit/codeblock.d jit/util.d jit/moves.d jit/ops.d jit/jit.d repl.d options.d stats.d main.d jit/tests.d parser/tests.d runtime/tests.d runtime/ffitests.d -gc -version=FFIdev | |
| paulfryzel@ao:~/github/Higgs/source(osx-tests+*)$ ./higgs-test lib/test.js tests/08-lib/ffi.js | |
| paulfryzel@ao:~/github/Higgs/source(osx-tests+*)$ |