therubyracer 0.4.8-x86-darwin-10 → 0.4.9-x86-darwin-10
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of therubyracer might be problematic. Click here for more details.
- data/.gitignore +11 -0
- data/.gitmodules +3 -0
- data/History.txt +5 -1
- data/Rakefile +35 -38
- data/ext/v8/callbacks.cpp +1 -1
- data/ext/v8/convert_ruby.h +1 -1
- data/ext/v8/convert_string.h +3 -3
- data/ext/v8/extconf.rb +9 -17
- data/ext/v8/upstream/2.0.6/.gitignore +26 -0
- data/ext/v8/upstream/Makefile +31 -0
- data/ext/v8/upstream/no-strict-aliasing.patch +13 -0
- data/ext/v8/v8_str.cpp +1 -1
- data/ext/v8/v8_template.cpp +1 -1
- data/lib/v8.rb +1 -1
- data/lib/v8/v8.bundle +0 -0
- data/spec/ext/obj_spec.rb +1 -1
- data/therubyracer.gemspec +658 -12
- metadata +611 -1182
- data/Manifest.txt +0 -1191
- data/ext/v8/upstream/2.0.6/.sconsign.dblite +0 -0
- data/ext/v8/upstream/2.0.6/benchmarks/README.txt +0 -63
- data/ext/v8/upstream/2.0.6/benchmarks/base.js +0 -264
- data/ext/v8/upstream/2.0.6/benchmarks/crypto.js +0 -1698
- data/ext/v8/upstream/2.0.6/benchmarks/deltablue.js +0 -880
- data/ext/v8/upstream/2.0.6/benchmarks/earley-boyer.js +0 -4684
- data/ext/v8/upstream/2.0.6/benchmarks/raytrace.js +0 -935
- data/ext/v8/upstream/2.0.6/benchmarks/regexp.js +0 -1614
- data/ext/v8/upstream/2.0.6/benchmarks/revisions.html +0 -86
- data/ext/v8/upstream/2.0.6/benchmarks/richards.js +0 -539
- data/ext/v8/upstream/2.0.6/benchmarks/run.html +0 -141
- data/ext/v8/upstream/2.0.6/benchmarks/run.js +0 -61
- data/ext/v8/upstream/2.0.6/benchmarks/splay.js +0 -378
- data/ext/v8/upstream/2.0.6/benchmarks/style.css +0 -77
- data/ext/v8/upstream/2.0.6/benchmarks/v8-logo.png +0 -0
- data/ext/v8/upstream/2.0.6/samples/SConscript +0 -38
- data/ext/v8/upstream/2.0.6/samples/count-hosts.js +0 -42
- data/ext/v8/upstream/2.0.6/samples/process.cc +0 -622
- data/ext/v8/upstream/2.0.6/samples/shell.cc +0 -303
- data/ext/v8/upstream/2.0.6/test/cctest/SConscript +0 -95
- data/ext/v8/upstream/2.0.6/test/cctest/cctest.cc +0 -126
- data/ext/v8/upstream/2.0.6/test/cctest/cctest.h +0 -211
- data/ext/v8/upstream/2.0.6/test/cctest/cctest.status +0 -54
- data/ext/v8/upstream/2.0.6/test/cctest/test-accessors.cc +0 -450
- data/ext/v8/upstream/2.0.6/test/cctest/test-alloc.cc +0 -215
- data/ext/v8/upstream/2.0.6/test/cctest/test-api.cc +0 -8699
- data/ext/v8/upstream/2.0.6/test/cctest/test-assembler-arm.cc +0 -227
- data/ext/v8/upstream/2.0.6/test/cctest/test-assembler-ia32.cc +0 -395
- data/ext/v8/upstream/2.0.6/test/cctest/test-assembler-x64.cc +0 -292
- data/ext/v8/upstream/2.0.6/test/cctest/test-ast.cc +0 -97
- data/ext/v8/upstream/2.0.6/test/cctest/test-compiler.cc +0 -318
- data/ext/v8/upstream/2.0.6/test/cctest/test-conversions.cc +0 -130
- data/ext/v8/upstream/2.0.6/test/cctest/test-debug.cc +0 -5788
- data/ext/v8/upstream/2.0.6/test/cctest/test-decls.cc +0 -593
- data/ext/v8/upstream/2.0.6/test/cctest/test-disasm-arm.cc +0 -281
- data/ext/v8/upstream/2.0.6/test/cctest/test-disasm-ia32.cc +0 -418
- data/ext/v8/upstream/2.0.6/test/cctest/test-flags.cc +0 -234
- data/ext/v8/upstream/2.0.6/test/cctest/test-func-name-inference.cc +0 -267
- data/ext/v8/upstream/2.0.6/test/cctest/test-hashmap.cc +0 -176
- data/ext/v8/upstream/2.0.6/test/cctest/test-heap-profiler.cc +0 -396
- data/ext/v8/upstream/2.0.6/test/cctest/test-heap.cc +0 -796
- data/ext/v8/upstream/2.0.6/test/cctest/test-list.cc +0 -101
- data/ext/v8/upstream/2.0.6/test/cctest/test-lock.cc +0 -63
- data/ext/v8/upstream/2.0.6/test/cctest/test-log-stack-tracer.cc +0 -372
- data/ext/v8/upstream/2.0.6/test/cctest/test-log-utils.cc +0 -310
- data/ext/v8/upstream/2.0.6/test/cctest/test-log.cc +0 -1081
- data/ext/v8/upstream/2.0.6/test/cctest/test-macro-assembler-x64.cc +0 -2104
- data/ext/v8/upstream/2.0.6/test/cctest/test-mark-compact.cc +0 -341
- data/ext/v8/upstream/2.0.6/test/cctest/test-parsing.cc +0 -129
- data/ext/v8/upstream/2.0.6/test/cctest/test-platform-linux.cc +0 -80
- data/ext/v8/upstream/2.0.6/test/cctest/test-platform-macos.cc +0 -10
- data/ext/v8/upstream/2.0.6/test/cctest/test-platform-nullos.cc +0 -80
- data/ext/v8/upstream/2.0.6/test/cctest/test-platform-win32.cc +0 -26
- data/ext/v8/upstream/2.0.6/test/cctest/test-regexp.cc +0 -1815
- data/ext/v8/upstream/2.0.6/test/cctest/test-serialize.cc +0 -438
- data/ext/v8/upstream/2.0.6/test/cctest/test-sockets.cc +0 -162
- data/ext/v8/upstream/2.0.6/test/cctest/test-spaces.cc +0 -248
- data/ext/v8/upstream/2.0.6/test/cctest/test-strings.cc +0 -432
- data/ext/v8/upstream/2.0.6/test/cctest/test-thread-termination.cc +0 -290
- data/ext/v8/upstream/2.0.6/test/cctest/test-threads.cc +0 -52
- data/ext/v8/upstream/2.0.6/test/cctest/test-utils.cc +0 -186
- data/ext/v8/upstream/2.0.6/test/cctest/test-version.cc +0 -89
- data/ext/v8/upstream/2.0.6/test/cctest/testcfg.py +0 -108
- data/ext/v8/upstream/2.0.6/test/es5conform/README +0 -14
- data/ext/v8/upstream/2.0.6/test/es5conform/es5conform.status +0 -226
- data/ext/v8/upstream/2.0.6/test/es5conform/harness-adapt.js +0 -74
- data/ext/v8/upstream/2.0.6/test/es5conform/testcfg.py +0 -108
- data/ext/v8/upstream/2.0.6/test/message/message.status +0 -31
- data/ext/v8/upstream/2.0.6/test/message/overwritten-builtins.js +0 -31
- data/ext/v8/upstream/2.0.6/test/message/overwritten-builtins.out +0 -30
- data/ext/v8/upstream/2.0.6/test/message/regress/regress-73.js +0 -33
- data/ext/v8/upstream/2.0.6/test/message/regress/regress-73.out +0 -30
- data/ext/v8/upstream/2.0.6/test/message/regress/regress-75.js +0 -32
- data/ext/v8/upstream/2.0.6/test/message/regress/regress-75.out +0 -30
- data/ext/v8/upstream/2.0.6/test/message/simple-throw.js +0 -28
- data/ext/v8/upstream/2.0.6/test/message/simple-throw.out +0 -30
- data/ext/v8/upstream/2.0.6/test/message/testcfg.py +0 -135
- data/ext/v8/upstream/2.0.6/test/message/try-catch-finally-no-message.js +0 -51
- data/ext/v8/upstream/2.0.6/test/message/try-catch-finally-no-message.out +0 -26
- data/ext/v8/upstream/2.0.6/test/message/try-catch-finally-return-in-finally.js +0 -39
- data/ext/v8/upstream/2.0.6/test/message/try-catch-finally-return-in-finally.out +0 -28
- data/ext/v8/upstream/2.0.6/test/message/try-catch-finally-throw-in-catch-and-finally.js +0 -34
- data/ext/v8/upstream/2.0.6/test/message/try-catch-finally-throw-in-catch-and-finally.out +0 -30
- data/ext/v8/upstream/2.0.6/test/message/try-catch-finally-throw-in-catch.js +0 -34
- data/ext/v8/upstream/2.0.6/test/message/try-catch-finally-throw-in-catch.out +0 -30
- data/ext/v8/upstream/2.0.6/test/message/try-catch-finally-throw-in-finally.js +0 -34
- data/ext/v8/upstream/2.0.6/test/message/try-catch-finally-throw-in-finally.out +0 -30
- data/ext/v8/upstream/2.0.6/test/message/try-finally-return-in-finally.js +0 -37
- data/ext/v8/upstream/2.0.6/test/message/try-finally-return-in-finally.out +0 -28
- data/ext/v8/upstream/2.0.6/test/message/try-finally-throw-in-finally.js +0 -32
- data/ext/v8/upstream/2.0.6/test/message/try-finally-throw-in-finally.out +0 -30
- data/ext/v8/upstream/2.0.6/test/message/try-finally-throw-in-try-and-finally.js +0 -32
- data/ext/v8/upstream/2.0.6/test/message/try-finally-throw-in-try-and-finally.out +0 -30
- data/ext/v8/upstream/2.0.6/test/message/try-finally-throw-in-try.js +0 -32
- data/ext/v8/upstream/2.0.6/test/message/try-finally-throw-in-try.out +0 -30
- data/ext/v8/upstream/2.0.6/test/mjsunit/api-call-after-bypassed-exception.js +0 -39
- data/ext/v8/upstream/2.0.6/test/mjsunit/apply.js +0 -196
- data/ext/v8/upstream/2.0.6/test/mjsunit/arguments-apply.js +0 -134
- data/ext/v8/upstream/2.0.6/test/mjsunit/arguments-call-apply.js +0 -41
- data/ext/v8/upstream/2.0.6/test/mjsunit/arguments-enum.js +0 -52
- data/ext/v8/upstream/2.0.6/test/mjsunit/arguments-indirect.js +0 -47
- data/ext/v8/upstream/2.0.6/test/mjsunit/arguments-lazy.js +0 -47
- data/ext/v8/upstream/2.0.6/test/mjsunit/arguments-opt.js +0 -130
- data/ext/v8/upstream/2.0.6/test/mjsunit/arguments-read-and-assignment.js +0 -164
- data/ext/v8/upstream/2.0.6/test/mjsunit/arguments.js +0 -97
- data/ext/v8/upstream/2.0.6/test/mjsunit/array-concat.js +0 -120
- data/ext/v8/upstream/2.0.6/test/mjsunit/array-constructor.js +0 -119
- data/ext/v8/upstream/2.0.6/test/mjsunit/array-functions-prototype.js +0 -159
- data/ext/v8/upstream/2.0.6/test/mjsunit/array-indexing.js +0 -66
- data/ext/v8/upstream/2.0.6/test/mjsunit/array-iteration.js +0 -228
- data/ext/v8/upstream/2.0.6/test/mjsunit/array-join.js +0 -45
- data/ext/v8/upstream/2.0.6/test/mjsunit/array-length-number-conversion.js +0 -53
- data/ext/v8/upstream/2.0.6/test/mjsunit/array-length.js +0 -111
- data/ext/v8/upstream/2.0.6/test/mjsunit/array-reduce.js +0 -514
- data/ext/v8/upstream/2.0.6/test/mjsunit/array-sort.js +0 -362
- data/ext/v8/upstream/2.0.6/test/mjsunit/array-splice.js +0 -314
- data/ext/v8/upstream/2.0.6/test/mjsunit/ascii-regexp-subject.js +0 -49
- data/ext/v8/upstream/2.0.6/test/mjsunit/big-array-literal.js +0 -111
- data/ext/v8/upstream/2.0.6/test/mjsunit/big-object-literal.js +0 -114
- data/ext/v8/upstream/2.0.6/test/mjsunit/binary-operation-overwrite.js +0 -36
- data/ext/v8/upstream/2.0.6/test/mjsunit/bit-not.js +0 -75
- data/ext/v8/upstream/2.0.6/test/mjsunit/bitwise-operations-undefined.js +0 -49
- data/ext/v8/upstream/2.0.6/test/mjsunit/body-not-visible.js +0 -39
- data/ext/v8/upstream/2.0.6/test/mjsunit/bugs/bug-1344252.js +0 -79
- data/ext/v8/upstream/2.0.6/test/mjsunit/bugs/bug-222.js +0 -42
- data/ext/v8/upstream/2.0.6/test/mjsunit/bugs/bug-223.js +0 -39
- data/ext/v8/upstream/2.0.6/test/mjsunit/bugs/bug-900066.js +0 -38
- data/ext/v8/upstream/2.0.6/test/mjsunit/bugs/bug-941049.js +0 -100
- data/ext/v8/upstream/2.0.6/test/mjsunit/call-non-function-call.js +0 -38
- data/ext/v8/upstream/2.0.6/test/mjsunit/call-non-function.js +0 -63
- data/ext/v8/upstream/2.0.6/test/mjsunit/call.js +0 -87
- data/ext/v8/upstream/2.0.6/test/mjsunit/char-escape.js +0 -53
- data/ext/v8/upstream/2.0.6/test/mjsunit/class-of-builtins.js +0 -50
- data/ext/v8/upstream/2.0.6/test/mjsunit/closure.js +0 -37
- data/ext/v8/upstream/2.0.6/test/mjsunit/codegen-coverage.js +0 -91
- data/ext/v8/upstream/2.0.6/test/mjsunit/compare-character.js +0 -50
- data/ext/v8/upstream/2.0.6/test/mjsunit/compare-nan.js +0 -66
- data/ext/v8/upstream/2.0.6/test/mjsunit/compiler/countoperation.js +0 -111
- data/ext/v8/upstream/2.0.6/test/mjsunit/compiler/function-call.js +0 -52
- data/ext/v8/upstream/2.0.6/test/mjsunit/compiler/globals.js +0 -65
- data/ext/v8/upstream/2.0.6/test/mjsunit/compiler/jsnatives.js +0 -33
- data/ext/v8/upstream/2.0.6/test/mjsunit/compiler/literals-assignment.js +0 -104
- data/ext/v8/upstream/2.0.6/test/mjsunit/compiler/literals.js +0 -52
- data/ext/v8/upstream/2.0.6/test/mjsunit/compiler/loops.js +0 -35
- data/ext/v8/upstream/2.0.6/test/mjsunit/compiler/objectliterals.js +0 -57
- data/ext/v8/upstream/2.0.6/test/mjsunit/compiler/property-simple.js +0 -39
- data/ext/v8/upstream/2.0.6/test/mjsunit/compiler/short-circuit.js +0 -102
- data/ext/v8/upstream/2.0.6/test/mjsunit/compiler/thisfunction.js +0 -35
- data/ext/v8/upstream/2.0.6/test/mjsunit/const-declaration.js +0 -172
- data/ext/v8/upstream/2.0.6/test/mjsunit/const-eval-init.js +0 -111
- data/ext/v8/upstream/2.0.6/test/mjsunit/const-redecl.js +0 -220
- data/ext/v8/upstream/2.0.6/test/mjsunit/const.js +0 -70
- data/ext/v8/upstream/2.0.6/test/mjsunit/constant-folding.js +0 -232
- data/ext/v8/upstream/2.0.6/test/mjsunit/context-variable-assignments.js +0 -37
- data/ext/v8/upstream/2.0.6/test/mjsunit/cyclic-array-to-string.js +0 -65
- data/ext/v8/upstream/2.0.6/test/mjsunit/cyrillic.js +0 -199
- data/ext/v8/upstream/2.0.6/test/mjsunit/d8-os.js +0 -180
- data/ext/v8/upstream/2.0.6/test/mjsunit/date-parse.js +0 -268
- data/ext/v8/upstream/2.0.6/test/mjsunit/date.js +0 -149
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-backtrace-text.js +0 -122
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-backtrace.js +0 -272
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-breakpoints.js +0 -120
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-changebreakpoint.js +0 -108
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-clearbreakpoint.js +0 -101
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-clearbreakpointgroup.js +0 -117
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-compile-event.js +0 -126
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-conditional-breakpoints.js +0 -171
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-constructed-by.js +0 -60
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-constructor.js +0 -78
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-continue.js +0 -114
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-enable-disable-breakpoints.js +0 -90
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-evaluate-arguments.js +0 -93
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-evaluate-bool-constructor.js +0 -80
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-evaluate-locals.js +0 -132
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-evaluate-recursive.js +0 -167
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-evaluate-with.js +0 -77
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-evaluate.js +0 -118
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-event-listener.js +0 -73
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-handle.js +0 -252
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-ignore-breakpoints.js +0 -89
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-mirror-cache.js +0 -85
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-multiple-breakpoints.js +0 -105
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-referenced-by.js +0 -112
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-references.js +0 -118
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-scopes.js +0 -761
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-script-breakpoints.js +0 -112
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-script.js +0 -92
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-scripts-request.js +0 -108
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-setbreakpoint.js +0 -165
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-sourceinfo.js +0 -352
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-sourceslice.js +0 -74
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-step-stub-callfunction.js +0 -87
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-step.js +0 -82
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-stepin-accessor.js +0 -248
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-stepin-builtin.js +0 -78
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-stepin-call-function-stub.js +0 -115
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-stepin-constructor.js +0 -78
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-stepin-function-call.js +0 -149
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-stepnext-do-while.js +0 -79
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-stepout-recursive-function.js +0 -106
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-stepout-to-builtin.js +0 -84
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-suspend.js +0 -96
- data/ext/v8/upstream/2.0.6/test/mjsunit/debug-version.js +0 -90
- data/ext/v8/upstream/2.0.6/test/mjsunit/declare-locally.js +0 -43
- data/ext/v8/upstream/2.0.6/test/mjsunit/deep-recursion.js +0 -66
- data/ext/v8/upstream/2.0.6/test/mjsunit/delay-syntax-error.js +0 -41
- data/ext/v8/upstream/2.0.6/test/mjsunit/delete-global-properties.js +0 -37
- data/ext/v8/upstream/2.0.6/test/mjsunit/delete-in-eval.js +0 -32
- data/ext/v8/upstream/2.0.6/test/mjsunit/delete-in-with.js +0 -34
- data/ext/v8/upstream/2.0.6/test/mjsunit/delete-vars-from-eval.js +0 -40
- data/ext/v8/upstream/2.0.6/test/mjsunit/delete.js +0 -163
- data/ext/v8/upstream/2.0.6/test/mjsunit/div-mod.js +0 -157
- data/ext/v8/upstream/2.0.6/test/mjsunit/do-not-strip-fc.js +0 -31
- data/ext/v8/upstream/2.0.6/test/mjsunit/dont-enum-array-holes.js +0 -35
- data/ext/v8/upstream/2.0.6/test/mjsunit/dont-reinit-global-var.js +0 -47
- data/ext/v8/upstream/2.0.6/test/mjsunit/double-equals.js +0 -114
- data/ext/v8/upstream/2.0.6/test/mjsunit/dtoa.js +0 -32
- data/ext/v8/upstream/2.0.6/test/mjsunit/enumeration-order.js +0 -109
- data/ext/v8/upstream/2.0.6/test/mjsunit/error-constructors.js +0 -32
- data/ext/v8/upstream/2.0.6/test/mjsunit/escape.js +0 -118
- data/ext/v8/upstream/2.0.6/test/mjsunit/eval-enclosing-function-name.js +0 -76
- data/ext/v8/upstream/2.0.6/test/mjsunit/eval-typeof-non-existing.js +0 -35
- data/ext/v8/upstream/2.0.6/test/mjsunit/eval.js +0 -157
- data/ext/v8/upstream/2.0.6/test/mjsunit/execScript-case-insensitive.js +0 -34
- data/ext/v8/upstream/2.0.6/test/mjsunit/extra-arguments.js +0 -54
- data/ext/v8/upstream/2.0.6/test/mjsunit/extra-commas.js +0 -46
- data/ext/v8/upstream/2.0.6/test/mjsunit/for-in-null-or-undefined.js +0 -33
- data/ext/v8/upstream/2.0.6/test/mjsunit/for-in-special-cases.js +0 -64
- data/ext/v8/upstream/2.0.6/test/mjsunit/for-in.js +0 -86
- data/ext/v8/upstream/2.0.6/test/mjsunit/fun-as-prototype.js +0 -36
- data/ext/v8/upstream/2.0.6/test/mjsunit/fun-name.js +0 -34
- data/ext/v8/upstream/2.0.6/test/mjsunit/function-arguments-null.js +0 -30
- data/ext/v8/upstream/2.0.6/test/mjsunit/function-caller.js +0 -48
- data/ext/v8/upstream/2.0.6/test/mjsunit/function-names.js +0 -133
- data/ext/v8/upstream/2.0.6/test/mjsunit/function-property.js +0 -29
- data/ext/v8/upstream/2.0.6/test/mjsunit/function-prototype.js +0 -98
- data/ext/v8/upstream/2.0.6/test/mjsunit/function-source.js +0 -49
- data/ext/v8/upstream/2.0.6/test/mjsunit/function.js +0 -83
- data/ext/v8/upstream/2.0.6/test/mjsunit/fuzz-accessors.js +0 -85
- data/ext/v8/upstream/2.0.6/test/mjsunit/fuzz-natives.js +0 -159
- data/ext/v8/upstream/2.0.6/test/mjsunit/get-own-property-descriptor.js +0 -51
- data/ext/v8/upstream/2.0.6/test/mjsunit/get-prototype-of.js +0 -68
- data/ext/v8/upstream/2.0.6/test/mjsunit/getter-in-prototype.js +0 -50
- data/ext/v8/upstream/2.0.6/test/mjsunit/getter-in-value-prototype.js +0 -35
- data/ext/v8/upstream/2.0.6/test/mjsunit/global-const-var-conflicts.js +0 -57
- data/ext/v8/upstream/2.0.6/test/mjsunit/global-deleted-property-ic.js +0 -45
- data/ext/v8/upstream/2.0.6/test/mjsunit/global-deleted-property-keyed.js +0 -38
- data/ext/v8/upstream/2.0.6/test/mjsunit/global-ic.js +0 -48
- data/ext/v8/upstream/2.0.6/test/mjsunit/global-load-from-eval-in-with.js +0 -59
- data/ext/v8/upstream/2.0.6/test/mjsunit/global-load-from-eval.js +0 -85
- data/ext/v8/upstream/2.0.6/test/mjsunit/global-load-from-nested-eval.js +0 -66
- data/ext/v8/upstream/2.0.6/test/mjsunit/global-vars-eval.js +0 -34
- data/ext/v8/upstream/2.0.6/test/mjsunit/global-vars-with.js +0 -43
- data/ext/v8/upstream/2.0.6/test/mjsunit/greedy.js +0 -60
- data/ext/v8/upstream/2.0.6/test/mjsunit/has-own-property.js +0 -38
- data/ext/v8/upstream/2.0.6/test/mjsunit/html-comments.js +0 -57
- data/ext/v8/upstream/2.0.6/test/mjsunit/html-string-funcs.js +0 -47
- data/ext/v8/upstream/2.0.6/test/mjsunit/if-in-undefined.js +0 -36
- data/ext/v8/upstream/2.0.6/test/mjsunit/in.js +0 -159
- data/ext/v8/upstream/2.0.6/test/mjsunit/indexed-accessors.js +0 -120
- data/ext/v8/upstream/2.0.6/test/mjsunit/instanceof.js +0 -93
- data/ext/v8/upstream/2.0.6/test/mjsunit/integer-to-string.js +0 -35
- data/ext/v8/upstream/2.0.6/test/mjsunit/invalid-lhs.js +0 -65
- data/ext/v8/upstream/2.0.6/test/mjsunit/invalid-source-element.js +0 -31
- data/ext/v8/upstream/2.0.6/test/mjsunit/json.js +0 -207
- data/ext/v8/upstream/2.0.6/test/mjsunit/keyed-ic.js +0 -236
- data/ext/v8/upstream/2.0.6/test/mjsunit/keyed-storage-extend.js +0 -55
- data/ext/v8/upstream/2.0.6/test/mjsunit/large-object-allocation.js +0 -300
- data/ext/v8/upstream/2.0.6/test/mjsunit/large-object-literal.js +0 -56
- data/ext/v8/upstream/2.0.6/test/mjsunit/lazy-load.js +0 -34
- data/ext/v8/upstream/2.0.6/test/mjsunit/leakcheck.js +0 -53
- data/ext/v8/upstream/2.0.6/test/mjsunit/length.js +0 -78
- data/ext/v8/upstream/2.0.6/test/mjsunit/local-load-from-eval.js +0 -39
- data/ext/v8/upstream/2.0.6/test/mjsunit/math-min-max.js +0 -105
- data/ext/v8/upstream/2.0.6/test/mjsunit/megamorphic-callbacks.js +0 -70
- data/ext/v8/upstream/2.0.6/test/mjsunit/mirror-array.js +0 -138
- data/ext/v8/upstream/2.0.6/test/mjsunit/mirror-boolean.js +0 -59
- data/ext/v8/upstream/2.0.6/test/mjsunit/mirror-date.js +0 -77
- data/ext/v8/upstream/2.0.6/test/mjsunit/mirror-error.js +0 -94
- data/ext/v8/upstream/2.0.6/test/mjsunit/mirror-function.js +0 -90
- data/ext/v8/upstream/2.0.6/test/mjsunit/mirror-null.js +0 -50
- data/ext/v8/upstream/2.0.6/test/mjsunit/mirror-number.js +0 -77
- data/ext/v8/upstream/2.0.6/test/mjsunit/mirror-object.js +0 -227
- data/ext/v8/upstream/2.0.6/test/mjsunit/mirror-regexp.js +0 -110
- data/ext/v8/upstream/2.0.6/test/mjsunit/mirror-script.js +0 -100
- data/ext/v8/upstream/2.0.6/test/mjsunit/mirror-string.js +0 -89
- data/ext/v8/upstream/2.0.6/test/mjsunit/mirror-undefined.js +0 -50
- data/ext/v8/upstream/2.0.6/test/mjsunit/mirror-unresolved-function.js +0 -81
- data/ext/v8/upstream/2.0.6/test/mjsunit/mjsunit.js +0 -203
- data/ext/v8/upstream/2.0.6/test/mjsunit/mjsunit.status +0 -66
- data/ext/v8/upstream/2.0.6/test/mjsunit/mul-exhaustive.js +0 -4511
- data/ext/v8/upstream/2.0.6/test/mjsunit/multiple-return.js +0 -62
- data/ext/v8/upstream/2.0.6/test/mjsunit/negate-zero.js +0 -42
- data/ext/v8/upstream/2.0.6/test/mjsunit/negate.js +0 -59
- data/ext/v8/upstream/2.0.6/test/mjsunit/new.js +0 -56
- data/ext/v8/upstream/2.0.6/test/mjsunit/newline-in-string.js +0 -46
- data/ext/v8/upstream/2.0.6/test/mjsunit/no-branch-elimination.js +0 -36
- data/ext/v8/upstream/2.0.6/test/mjsunit/no-octal-constants-above-256.js +0 -32
- data/ext/v8/upstream/2.0.6/test/mjsunit/no-semicolon.js +0 -45
- data/ext/v8/upstream/2.0.6/test/mjsunit/non-ascii-replace.js +0 -30
- data/ext/v8/upstream/2.0.6/test/mjsunit/nul-characters.js +0 -38
- data/ext/v8/upstream/2.0.6/test/mjsunit/number-limits.js +0 -47
- data/ext/v8/upstream/2.0.6/test/mjsunit/number-string-index-call.js +0 -32
- data/ext/v8/upstream/2.0.6/test/mjsunit/number-tostring-small.js +0 -395
- data/ext/v8/upstream/2.0.6/test/mjsunit/number-tostring.js +0 -338
- data/ext/v8/upstream/2.0.6/test/mjsunit/obj-construct.js +0 -46
- data/ext/v8/upstream/2.0.6/test/mjsunit/object-create.js +0 -250
- data/ext/v8/upstream/2.0.6/test/mjsunit/object-literal-gc.js +0 -66
- data/ext/v8/upstream/2.0.6/test/mjsunit/object-literal.js +0 -105
- data/ext/v8/upstream/2.0.6/test/mjsunit/override-read-only-property.js +0 -64
- data/ext/v8/upstream/2.0.6/test/mjsunit/parse-int-float.js +0 -85
- data/ext/v8/upstream/2.0.6/test/mjsunit/property-load-across-eval.js +0 -85
- data/ext/v8/upstream/2.0.6/test/mjsunit/property-object-key.js +0 -36
- data/ext/v8/upstream/2.0.6/test/mjsunit/proto.js +0 -33
- data/ext/v8/upstream/2.0.6/test/mjsunit/prototype.js +0 -93
- data/ext/v8/upstream/2.0.6/test/mjsunit/receiver-in-with-calls.js +0 -47
- data/ext/v8/upstream/2.0.6/test/mjsunit/regexp-UC16.js +0 -47
- data/ext/v8/upstream/2.0.6/test/mjsunit/regexp-call-as-function.js +0 -36
- data/ext/v8/upstream/2.0.6/test/mjsunit/regexp-capture.js +0 -57
- data/ext/v8/upstream/2.0.6/test/mjsunit/regexp-captures.js +0 -31
- data/ext/v8/upstream/2.0.6/test/mjsunit/regexp-indexof.js +0 -77
- data/ext/v8/upstream/2.0.6/test/mjsunit/regexp-lookahead.js +0 -166
- data/ext/v8/upstream/2.0.6/test/mjsunit/regexp-loop-capture.js +0 -29
- data/ext/v8/upstream/2.0.6/test/mjsunit/regexp-multiline-stack-trace.js +0 -116
- data/ext/v8/upstream/2.0.6/test/mjsunit/regexp-multiline.js +0 -112
- data/ext/v8/upstream/2.0.6/test/mjsunit/regexp-standalones.js +0 -78
- data/ext/v8/upstream/2.0.6/test/mjsunit/regexp-static.js +0 -167
- data/ext/v8/upstream/2.0.6/test/mjsunit/regexp-string-methods.js +0 -51
- data/ext/v8/upstream/2.0.6/test/mjsunit/regexp.js +0 -390
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1030466.js +0 -45
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1036894.js +0 -38
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1039610.js +0 -29
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1050043.js +0 -51
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1062422.js +0 -30
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1066899.js +0 -37
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1081309.js +0 -110
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1102760.js +0 -35
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1110164.js +0 -46
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1112051.js +0 -33
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1114040.js +0 -58
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1134697.js +0 -31
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-114.js +0 -43
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-116.js +0 -40
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1170187.js +0 -80
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1173979.js +0 -48
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1175390.js +0 -30
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1177518.js +0 -39
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1177809.js +0 -31
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1178598.js +0 -90
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1182832.js +0 -38
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1187524.js +0 -34
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1199401.js +0 -75
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1199637.js +0 -78
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1200351.js +0 -2032
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1201933.js +0 -40
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1203459.js +0 -29
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1207276.js +0 -36
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1213516.js +0 -40
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1213575.js +0 -41
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1215653.js +0 -365
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-124.js +0 -57
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1254366.js +0 -38
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1327557.js +0 -36
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1341167.js +0 -33
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1346700.js +0 -29
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-137.js +0 -46
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1439135.js +0 -40
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-149.js +0 -28
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1493017.js +0 -52
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-155924.js +0 -46
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-171.js +0 -41
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-176.js +0 -50
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-186.js +0 -72
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-187.js +0 -30
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-189.js +0 -36
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-191.js +0 -42
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-1919169.js +0 -40
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-192.js +0 -38
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-193.js +0 -44
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-20070207.js +0 -42
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-201.js +0 -37
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-219.js +0 -176
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-220.js +0 -31
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-221.js +0 -34
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-2249423.js +0 -40
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-225.js +0 -32
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-227.js +0 -33
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-231.js +0 -92
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-233.js +0 -39
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-244.js +0 -67
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-246.js +0 -31
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-253.js +0 -31
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-254.js +0 -58
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-259.js +0 -33
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-260.js +0 -33
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-263.js +0 -38
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-265.js +0 -64
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-267.js +0 -35
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-269.js +0 -49
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-279.js +0 -62
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-284.js +0 -50
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-286.js +0 -36
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-294.js +0 -43
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-312.js +0 -31
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-317.js +0 -31
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-318.js +0 -35
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-326.js +0 -40
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-334.js +0 -90
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-341.js +0 -36
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-345.js +0 -51
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-349.js +0 -32
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-35.js +0 -33
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-351.js +0 -31
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-386.js +0 -47
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-392.js +0 -34
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-394.js +0 -47
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-396.js +0 -39
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-397.js +0 -34
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-399.js +0 -32
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-406.js +0 -69
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-416.js +0 -38
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-475.js +0 -28
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-483.js +0 -35
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-485.js +0 -64
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-486.js +0 -30
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-490.js +0 -48
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-491.js +0 -47
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-492.js +0 -52
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-496.js +0 -39
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-502.js +0 -38
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-503.js +0 -63
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-515.js +0 -40
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-524.js +0 -32
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-526.js +0 -32
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-540.js +0 -47
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-545.js +0 -47
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-57.js +0 -32
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-580.js +0 -55
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-588599.js +0 -31
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-6-9-regexp.js +0 -30
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-662254.js +0 -40
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-666721.js +0 -53
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-667061.js +0 -90
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-670147.js +0 -34
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-674753.js +0 -87
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-676025.js +0 -31
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-678525.js +0 -59
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-682649.js +0 -30
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-69.js +0 -43
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-734862.js +0 -37
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-737588.js +0 -34
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-74.js +0 -41
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-780423.js +0 -39
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-799761.js +0 -92
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-806473.js +0 -60
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-842017.js +0 -60
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-86.js +0 -46
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-87.js +0 -58
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-874178.js +0 -32
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-875031.js +0 -37
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-877615.js +0 -37
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-892742.js +0 -50
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-900055.js +0 -42
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-900966.js +0 -38
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-91.js +0 -38
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-925537.js +0 -42
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-937896.js +0 -50
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-990205.js +0 -35
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-992733.js +0 -35
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-996542.js +0 -40
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-998565.js +0 -51
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-crbug-18639.js +0 -34
- data/ext/v8/upstream/2.0.6/test/mjsunit/regress/regress-r3391.js +0 -77
- data/ext/v8/upstream/2.0.6/test/mjsunit/scanner.js +0 -30
- data/ext/v8/upstream/2.0.6/test/mjsunit/short-circuit-boolean.js +0 -46
- data/ext/v8/upstream/2.0.6/test/mjsunit/simple-constructor.js +0 -140
- data/ext/v8/upstream/2.0.6/test/mjsunit/sin-cos.js +0 -45
- data/ext/v8/upstream/2.0.6/test/mjsunit/smi-negative-zero.js +0 -100
- data/ext/v8/upstream/2.0.6/test/mjsunit/smi-ops.js +0 -671
- data/ext/v8/upstream/2.0.6/test/mjsunit/sparse-array-reverse.js +0 -131
- data/ext/v8/upstream/2.0.6/test/mjsunit/sparse-array.js +0 -41
- data/ext/v8/upstream/2.0.6/test/mjsunit/stack-traces.js +0 -204
- data/ext/v8/upstream/2.0.6/test/mjsunit/str-to-num.js +0 -158
- data/ext/v8/upstream/2.0.6/test/mjsunit/stress-array-push.js +0 -34
- data/ext/v8/upstream/2.0.6/test/mjsunit/strict-equals.js +0 -90
- data/ext/v8/upstream/2.0.6/test/mjsunit/string-add.js +0 -195
- data/ext/v8/upstream/2.0.6/test/mjsunit/string-case.js +0 -28
- data/ext/v8/upstream/2.0.6/test/mjsunit/string-charat.js +0 -53
- data/ext/v8/upstream/2.0.6/test/mjsunit/string-charcodeat.js +0 -192
- data/ext/v8/upstream/2.0.6/test/mjsunit/string-compare-alignment.js +0 -47
- data/ext/v8/upstream/2.0.6/test/mjsunit/string-flatten.js +0 -37
- data/ext/v8/upstream/2.0.6/test/mjsunit/string-index.js +0 -154
- data/ext/v8/upstream/2.0.6/test/mjsunit/string-indexof-1.js +0 -99
- data/ext/v8/upstream/2.0.6/test/mjsunit/string-indexof-2.js +0 -68
- data/ext/v8/upstream/2.0.6/test/mjsunit/string-lastindexof.js +0 -88
- data/ext/v8/upstream/2.0.6/test/mjsunit/string-localecompare.js +0 -40
- data/ext/v8/upstream/2.0.6/test/mjsunit/string-match.js +0 -149
- data/ext/v8/upstream/2.0.6/test/mjsunit/string-replace-gc.js +0 -57
- data/ext/v8/upstream/2.0.6/test/mjsunit/string-replace.js +0 -182
- data/ext/v8/upstream/2.0.6/test/mjsunit/string-search.js +0 -30
- data/ext/v8/upstream/2.0.6/test/mjsunit/string-split.js +0 -126
- data/ext/v8/upstream/2.0.6/test/mjsunit/substr.js +0 -65
- data/ext/v8/upstream/2.0.6/test/mjsunit/switch.js +0 -289
- data/ext/v8/upstream/2.0.6/test/mjsunit/testcfg.py +0 -137
- data/ext/v8/upstream/2.0.6/test/mjsunit/third_party/array-isarray.js +0 -48
- data/ext/v8/upstream/2.0.6/test/mjsunit/third_party/array-splice-webkit.js +0 -62
- data/ext/v8/upstream/2.0.6/test/mjsunit/third_party/object-keys.js +0 -68
- data/ext/v8/upstream/2.0.6/test/mjsunit/third_party/regexp-pcre.js +0 -6603
- data/ext/v8/upstream/2.0.6/test/mjsunit/third_party/string-trim.js +0 -107
- data/ext/v8/upstream/2.0.6/test/mjsunit/this-in-callbacks.js +0 -47
- data/ext/v8/upstream/2.0.6/test/mjsunit/this.js +0 -46
- data/ext/v8/upstream/2.0.6/test/mjsunit/throw-and-catch-function.js +0 -50
- data/ext/v8/upstream/2.0.6/test/mjsunit/throw-exception-for-null-access.js +0 -37
- data/ext/v8/upstream/2.0.6/test/mjsunit/to-precision.js +0 -82
- data/ext/v8/upstream/2.0.6/test/mjsunit/to_number_order.js +0 -129
- data/ext/v8/upstream/2.0.6/test/mjsunit/tobool.js +0 -36
- data/ext/v8/upstream/2.0.6/test/mjsunit/toint32.js +0 -129
- data/ext/v8/upstream/2.0.6/test/mjsunit/tools/codemap.js +0 -180
- data/ext/v8/upstream/2.0.6/test/mjsunit/tools/consarray.js +0 -60
- data/ext/v8/upstream/2.0.6/test/mjsunit/tools/csvparser.js +0 -79
- data/ext/v8/upstream/2.0.6/test/mjsunit/tools/logreader.js +0 -98
- data/ext/v8/upstream/2.0.6/test/mjsunit/tools/profile.js +0 -348
- data/ext/v8/upstream/2.0.6/test/mjsunit/tools/profile_view.js +0 -95
- data/ext/v8/upstream/2.0.6/test/mjsunit/tools/splaytree.js +0 -166
- data/ext/v8/upstream/2.0.6/test/mjsunit/tools/tickprocessor-test.default +0 -55
- data/ext/v8/upstream/2.0.6/test/mjsunit/tools/tickprocessor-test.gc-state +0 -21
- data/ext/v8/upstream/2.0.6/test/mjsunit/tools/tickprocessor-test.ignore-unknown +0 -51
- data/ext/v8/upstream/2.0.6/test/mjsunit/tools/tickprocessor-test.separate-ic +0 -61
- data/ext/v8/upstream/2.0.6/test/mjsunit/tools/tickprocessor.js +0 -409
- data/ext/v8/upstream/2.0.6/test/mjsunit/top-level-assignments.js +0 -107
- data/ext/v8/upstream/2.0.6/test/mjsunit/touint32.js +0 -72
- data/ext/v8/upstream/2.0.6/test/mjsunit/transcendentals.js +0 -49
- data/ext/v8/upstream/2.0.6/test/mjsunit/try-catch-extension-object.js +0 -58
- data/ext/v8/upstream/2.0.6/test/mjsunit/try-catch-scopes.js +0 -42
- data/ext/v8/upstream/2.0.6/test/mjsunit/try-finally-nested.js +0 -46
- data/ext/v8/upstream/2.0.6/test/mjsunit/try.js +0 -394
- data/ext/v8/upstream/2.0.6/test/mjsunit/typeof.js +0 -40
- data/ext/v8/upstream/2.0.6/test/mjsunit/undeletable-functions.js +0 -181
- data/ext/v8/upstream/2.0.6/test/mjsunit/unicode-case-overoptimization.js +0 -35
- data/ext/v8/upstream/2.0.6/test/mjsunit/unicode-string-to-number.js +0 -46
- data/ext/v8/upstream/2.0.6/test/mjsunit/unicode-test.js +0 -9169
- data/ext/v8/upstream/2.0.6/test/mjsunit/unusual-constructor.js +0 -38
- data/ext/v8/upstream/2.0.6/test/mjsunit/uri.js +0 -78
- data/ext/v8/upstream/2.0.6/test/mjsunit/value-callic-prototype-change.js +0 -94
- data/ext/v8/upstream/2.0.6/test/mjsunit/var.js +0 -37
- data/ext/v8/upstream/2.0.6/test/mjsunit/with-function-expression.js +0 -36
- data/ext/v8/upstream/2.0.6/test/mjsunit/with-leave.js +0 -61
- data/ext/v8/upstream/2.0.6/test/mjsunit/with-parameter-access.js +0 -47
- data/ext/v8/upstream/2.0.6/test/mjsunit/with-prototype.js +0 -44
- data/ext/v8/upstream/2.0.6/test/mjsunit/with-value.js +0 -38
- data/ext/v8/upstream/2.0.6/test/mozilla/mozilla-shell-emulation.js +0 -37
- data/ext/v8/upstream/2.0.6/test/mozilla/mozilla.status +0 -815
- data/ext/v8/upstream/2.0.6/test/mozilla/testcfg.py +0 -138
- data/ext/v8/upstream/2.0.6/test/sputnik/README +0 -6
- data/ext/v8/upstream/2.0.6/test/sputnik/sputnik.status +0 -318
- data/ext/v8/upstream/2.0.6/test/sputnik/testcfg.py +0 -112
- data/ext/v8/upstream/2.0.6/tools/js2c.pyc +0 -0
- data/ext/v8/upstream/2.0.6/tools/jsmin.pyc +0 -0
- data/ext/v8/upstream/2.0.6/tools/utils.pyc +0 -0
- data/spec/redjs/README.txt +0 -8
@@ -1,166 +0,0 @@
|
|
1
|
-
// Copyright 2009 the V8 project authors. All rights reserved.
|
2
|
-
// Redistribution and use in source and binary forms, with or without
|
3
|
-
// modification, are permitted provided that the following conditions are
|
4
|
-
// met:
|
5
|
-
//
|
6
|
-
// * Redistributions of source code must retain the above copyright
|
7
|
-
// notice, this list of conditions and the following disclaimer.
|
8
|
-
// * Redistributions in binary form must reproduce the above
|
9
|
-
// copyright notice, this list of conditions and the following
|
10
|
-
// disclaimer in the documentation and/or other materials provided
|
11
|
-
// with the distribution.
|
12
|
-
// * Neither the name of Google Inc. nor the names of its
|
13
|
-
// contributors may be used to endorse or promote products derived
|
14
|
-
// from this software without specific prior written permission.
|
15
|
-
//
|
16
|
-
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
17
|
-
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
18
|
-
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
19
|
-
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
20
|
-
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
21
|
-
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
22
|
-
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
23
|
-
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
24
|
-
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
25
|
-
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
26
|
-
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
27
|
-
|
28
|
-
// Load the Splay tree implementation from <project root>/tools.
|
29
|
-
// Files: tools/splaytree.js
|
30
|
-
|
31
|
-
|
32
|
-
(function testIsEmpty() {
|
33
|
-
var tree = new goog.structs.SplayTree();
|
34
|
-
assertTrue(tree.isEmpty());
|
35
|
-
tree.insert(0, 'value');
|
36
|
-
assertFalse(tree.isEmpty());
|
37
|
-
})();
|
38
|
-
|
39
|
-
|
40
|
-
(function testExportValues() {
|
41
|
-
var tree = new goog.structs.SplayTree();
|
42
|
-
assertArrayEquals([], tree.exportValues());
|
43
|
-
tree.insert(0, 'value');
|
44
|
-
assertArrayEquals(['value'], tree.exportValues());
|
45
|
-
tree.insert(0, 'value');
|
46
|
-
assertArrayEquals(['value'], tree.exportValues());
|
47
|
-
})();
|
48
|
-
|
49
|
-
|
50
|
-
function createSampleTree() {
|
51
|
-
// Creates the following tree:
|
52
|
-
// 50
|
53
|
-
// / \
|
54
|
-
// 30 60
|
55
|
-
// / \ \
|
56
|
-
// 10 40 90
|
57
|
-
// \ / \
|
58
|
-
// 20 70 100
|
59
|
-
// / \
|
60
|
-
// 15 80
|
61
|
-
//
|
62
|
-
// We can't use the 'insert' method because it also uses 'splay_'.
|
63
|
-
return { key: 50, value: 50,
|
64
|
-
left: { key: 30, value: 30,
|
65
|
-
left: { key: 10, value: 10, left: null,
|
66
|
-
right: { key: 20, value: 20,
|
67
|
-
left: { key: 15, value: 15,
|
68
|
-
left: null, right: null },
|
69
|
-
right: null } },
|
70
|
-
right: { key: 40, value: 40, left: null, right: null } },
|
71
|
-
right: { key: 60, value: 60, left: null,
|
72
|
-
right: { key: 90, value: 90,
|
73
|
-
left: { key: 70, value: 70, left: null,
|
74
|
-
right: { key: 80, value: 80,
|
75
|
-
left: null, right: null } },
|
76
|
-
right: { key: 100, value: 100,
|
77
|
-
left: null, right: null } } } };
|
78
|
-
};
|
79
|
-
|
80
|
-
|
81
|
-
(function testSplay() {
|
82
|
-
var tree = new goog.structs.SplayTree();
|
83
|
-
tree.root_ = createSampleTree();
|
84
|
-
assertArrayEquals(['50', '30', '60', '10', '40', '90', '20', '70', '100', '15', '80'],
|
85
|
-
tree.exportValues());
|
86
|
-
tree.splay_(50);
|
87
|
-
assertArrayEquals(['50', '30', '60', '10', '40', '90', '20', '70', '100', '15', '80'],
|
88
|
-
tree.exportValues());
|
89
|
-
tree.splay_(80);
|
90
|
-
assertArrayEquals(['80', '60', '90', '50', '70', '100', '30', '10', '40', '20', '15'],
|
91
|
-
tree.exportValues());
|
92
|
-
})();
|
93
|
-
|
94
|
-
|
95
|
-
(function testInsert() {
|
96
|
-
var tree = new goog.structs.SplayTree();
|
97
|
-
tree.insert(5, 'root');
|
98
|
-
tree.insert(3, 'left');
|
99
|
-
assertArrayEquals(['left', 'root'], tree.exportValues());
|
100
|
-
tree.insert(7, 'right');
|
101
|
-
assertArrayEquals(['right', 'root', 'left'], tree.exportValues());
|
102
|
-
})();
|
103
|
-
|
104
|
-
|
105
|
-
(function testFind() {
|
106
|
-
var tree = new goog.structs.SplayTree();
|
107
|
-
tree.insert(5, 'root');
|
108
|
-
tree.insert(3, 'left');
|
109
|
-
tree.insert(7, 'right');
|
110
|
-
assertEquals('root', tree.find(5).value);
|
111
|
-
assertEquals('left', tree.find(3).value);
|
112
|
-
assertEquals('right', tree.find(7).value);
|
113
|
-
assertEquals(null, tree.find(0));
|
114
|
-
assertEquals(null, tree.find(100));
|
115
|
-
assertEquals(null, tree.find(-100));
|
116
|
-
})();
|
117
|
-
|
118
|
-
|
119
|
-
(function testFindMin() {
|
120
|
-
var tree = new goog.structs.SplayTree();
|
121
|
-
assertEquals(null, tree.findMin());
|
122
|
-
tree.insert(5, 'root');
|
123
|
-
tree.insert(3, 'left');
|
124
|
-
tree.insert(7, 'right');
|
125
|
-
assertEquals('left', tree.findMin().value);
|
126
|
-
})();
|
127
|
-
|
128
|
-
|
129
|
-
(function testFindMax() {
|
130
|
-
var tree = new goog.structs.SplayTree();
|
131
|
-
assertEquals(null, tree.findMax());
|
132
|
-
tree.insert(5, 'root');
|
133
|
-
tree.insert(3, 'left');
|
134
|
-
tree.insert(7, 'right');
|
135
|
-
assertEquals('right', tree.findMax().value);
|
136
|
-
})();
|
137
|
-
|
138
|
-
|
139
|
-
(function testFindGreatestLessThan() {
|
140
|
-
var tree = new goog.structs.SplayTree();
|
141
|
-
assertEquals(null, tree.findGreatestLessThan(10));
|
142
|
-
tree.insert(5, 'root');
|
143
|
-
tree.insert(3, 'left');
|
144
|
-
tree.insert(7, 'right');
|
145
|
-
assertEquals('right', tree.findGreatestLessThan(10).value);
|
146
|
-
assertEquals('right', tree.findGreatestLessThan(7).value);
|
147
|
-
assertEquals('root', tree.findGreatestLessThan(6).value);
|
148
|
-
assertEquals('left', tree.findGreatestLessThan(4).value);
|
149
|
-
assertEquals(null, tree.findGreatestLessThan(2));
|
150
|
-
})();
|
151
|
-
|
152
|
-
|
153
|
-
(function testRemove() {
|
154
|
-
var tree = new goog.structs.SplayTree();
|
155
|
-
assertThrows('tree.remove(5)');
|
156
|
-
tree.insert(5, 'root');
|
157
|
-
tree.insert(3, 'left');
|
158
|
-
tree.insert(7, 'right');
|
159
|
-
assertThrows('tree.remove(1)');
|
160
|
-
assertThrows('tree.remove(6)');
|
161
|
-
assertThrows('tree.remove(10)');
|
162
|
-
assertEquals('root', tree.remove(5).value);
|
163
|
-
assertEquals('left', tree.remove(3).value);
|
164
|
-
assertEquals('right', tree.remove(7).value);
|
165
|
-
assertArrayEquals([], tree.exportValues());
|
166
|
-
})();
|
@@ -1,55 +0,0 @@
|
|
1
|
-
Statistical profiling result from v8.log, (13 ticks, 2 unaccounted, 0 excluded).
|
2
|
-
|
3
|
-
[Unknown]:
|
4
|
-
ticks total nonlib name
|
5
|
-
2 15.4%
|
6
|
-
|
7
|
-
[Shared libraries]:
|
8
|
-
ticks total nonlib name
|
9
|
-
3 23.1% 0.0% /lib32/libm-2.7.so
|
10
|
-
1 7.7% 0.0% ffffe000-fffff000
|
11
|
-
|
12
|
-
[JavaScript]:
|
13
|
-
ticks total nonlib name
|
14
|
-
1 7.7% 11.1% LazyCompile: exp native math.js:41
|
15
|
-
|
16
|
-
[C++]:
|
17
|
-
ticks total nonlib name
|
18
|
-
2 15.4% 22.2% v8::internal::Runtime_Math_exp(v8::internal::Arguments)
|
19
|
-
1 7.7% 11.1% v8::internal::JSObject::LocalLookupRealNamedProperty(v8::internal::String*, v8::internal::LookupResult*)
|
20
|
-
1 7.7% 11.1% v8::internal::HashTable<v8::internal::StringDictionaryShape, v8::internal::String*>::FindEntry(v8::internal::String*)
|
21
|
-
1 7.7% 11.1% exp
|
22
|
-
|
23
|
-
[GC]:
|
24
|
-
ticks total nonlib name
|
25
|
-
0 0.0%
|
26
|
-
|
27
|
-
[Bottom up (heavy) profile]:
|
28
|
-
Note: percentage shows a share of a particular caller in the total
|
29
|
-
amount of its parent calls.
|
30
|
-
Callers occupying less than 2.0% are not shown.
|
31
|
-
|
32
|
-
ticks parent name
|
33
|
-
3 23.1% /lib32/libm-2.7.so
|
34
|
-
3 100.0% LazyCompile: exp native math.js:41
|
35
|
-
3 100.0% Script: exp.js
|
36
|
-
|
37
|
-
2 15.4% v8::internal::Runtime_Math_exp(v8::internal::Arguments)
|
38
|
-
2 100.0% LazyCompile: exp native math.js:41
|
39
|
-
2 100.0% Script: exp.js
|
40
|
-
|
41
|
-
1 7.7% v8::internal::JSObject::LocalLookupRealNamedProperty(v8::internal::String*, v8::internal::LookupResult*)
|
42
|
-
1 100.0% Script: exp.js
|
43
|
-
|
44
|
-
1 7.7% v8::internal::HashTable<v8::internal::StringDictionaryShape, v8::internal::String*>::FindEntry(v8::internal::String*)
|
45
|
-
1 100.0% Script: exp.js
|
46
|
-
|
47
|
-
1 7.7% ffffe000-fffff000
|
48
|
-
|
49
|
-
1 7.7% exp
|
50
|
-
1 100.0% LazyCompile: exp native math.js:41
|
51
|
-
1 100.0% Script: exp.js
|
52
|
-
|
53
|
-
1 7.7% LazyCompile: exp native math.js:41
|
54
|
-
1 100.0% Script: exp.js
|
55
|
-
|
@@ -1,21 +0,0 @@
|
|
1
|
-
Statistical profiling result from v8.log, (13 ticks, 0 unaccounted, 13 excluded).
|
2
|
-
|
3
|
-
[Shared libraries]:
|
4
|
-
ticks total nonlib name
|
5
|
-
|
6
|
-
[JavaScript]:
|
7
|
-
ticks total nonlib name
|
8
|
-
|
9
|
-
[C++]:
|
10
|
-
ticks total nonlib name
|
11
|
-
|
12
|
-
[GC]:
|
13
|
-
ticks total nonlib name
|
14
|
-
0 0.0%
|
15
|
-
|
16
|
-
[Bottom up (heavy) profile]:
|
17
|
-
Note: percentage shows a share of a particular caller in the total
|
18
|
-
amount of its parent calls.
|
19
|
-
Callers occupying less than 2.0% are not shown.
|
20
|
-
|
21
|
-
ticks parent name
|
@@ -1,51 +0,0 @@
|
|
1
|
-
Statistical profiling result from v8.log, (13 ticks, 2 unaccounted, 0 excluded).
|
2
|
-
|
3
|
-
[Shared libraries]:
|
4
|
-
ticks total nonlib name
|
5
|
-
3 27.3% 0.0% /lib32/libm-2.7.so
|
6
|
-
1 9.1% 0.0% ffffe000-fffff000
|
7
|
-
|
8
|
-
[JavaScript]:
|
9
|
-
ticks total nonlib name
|
10
|
-
1 9.1% 14.3% LazyCompile: exp native math.js:41
|
11
|
-
|
12
|
-
[C++]:
|
13
|
-
ticks total nonlib name
|
14
|
-
2 18.2% 28.6% v8::internal::Runtime_Math_exp(v8::internal::Arguments)
|
15
|
-
1 9.1% 14.3% v8::internal::JSObject::LocalLookupRealNamedProperty(v8::internal::String*, v8::internal::LookupResult*)
|
16
|
-
1 9.1% 14.3% v8::internal::HashTable<v8::internal::StringDictionaryShape, v8::internal::String*>::FindEntry(v8::internal::String*)
|
17
|
-
1 9.1% 14.3% exp
|
18
|
-
|
19
|
-
[GC]:
|
20
|
-
ticks total nonlib name
|
21
|
-
0 0.0%
|
22
|
-
|
23
|
-
[Bottom up (heavy) profile]:
|
24
|
-
Note: percentage shows a share of a particular caller in the total
|
25
|
-
amount of its parent calls.
|
26
|
-
Callers occupying less than 2.0% are not shown.
|
27
|
-
|
28
|
-
ticks parent name
|
29
|
-
3 27.3% /lib32/libm-2.7.so
|
30
|
-
3 100.0% LazyCompile: exp native math.js:41
|
31
|
-
3 100.0% Script: exp.js
|
32
|
-
|
33
|
-
2 18.2% v8::internal::Runtime_Math_exp(v8::internal::Arguments)
|
34
|
-
2 100.0% LazyCompile: exp native math.js:41
|
35
|
-
2 100.0% Script: exp.js
|
36
|
-
|
37
|
-
1 9.1% v8::internal::JSObject::LocalLookupRealNamedProperty(v8::internal::String*, v8::internal::LookupResult*)
|
38
|
-
1 100.0% Script: exp.js
|
39
|
-
|
40
|
-
1 9.1% v8::internal::HashTable<v8::internal::StringDictionaryShape, v8::internal::String*>::FindEntry(v8::internal::String*)
|
41
|
-
1 100.0% Script: exp.js
|
42
|
-
|
43
|
-
1 9.1% ffffe000-fffff000
|
44
|
-
|
45
|
-
1 9.1% exp
|
46
|
-
1 100.0% LazyCompile: exp native math.js:41
|
47
|
-
1 100.0% Script: exp.js
|
48
|
-
|
49
|
-
1 9.1% LazyCompile: exp native math.js:41
|
50
|
-
1 100.0% Script: exp.js
|
51
|
-
|
@@ -1,61 +0,0 @@
|
|
1
|
-
Statistical profiling result from v8.log, (13 ticks, 2 unaccounted, 0 excluded).
|
2
|
-
|
3
|
-
[Unknown]:
|
4
|
-
ticks total nonlib name
|
5
|
-
2 15.4%
|
6
|
-
|
7
|
-
[Shared libraries]:
|
8
|
-
ticks total nonlib name
|
9
|
-
3 23.1% 0.0% /lib32/libm-2.7.so
|
10
|
-
1 7.7% 0.0% ffffe000-fffff000
|
11
|
-
|
12
|
-
[JavaScript]:
|
13
|
-
ticks total nonlib name
|
14
|
-
1 7.7% 11.1% LoadIC: j
|
15
|
-
1 7.7% 11.1% LoadIC: i
|
16
|
-
1 7.7% 11.1% LazyCompile: exp native math.js:41
|
17
|
-
|
18
|
-
[C++]:
|
19
|
-
ticks total nonlib name
|
20
|
-
2 15.4% 22.2% v8::internal::Runtime_Math_exp(v8::internal::Arguments)
|
21
|
-
1 7.7% 11.1% v8::internal::JSObject::LocalLookupRealNamedProperty(v8::internal::String*, v8::internal::LookupResult*)
|
22
|
-
1 7.7% 11.1% v8::internal::HashTable<v8::internal::StringDictionaryShape, v8::internal::String*>::FindEntry(v8::internal::String*)
|
23
|
-
1 7.7% 11.1% exp
|
24
|
-
|
25
|
-
[GC]:
|
26
|
-
ticks total nonlib name
|
27
|
-
0 0.0%
|
28
|
-
|
29
|
-
[Bottom up (heavy) profile]:
|
30
|
-
Note: percentage shows a share of a particular caller in the total
|
31
|
-
amount of its parent calls.
|
32
|
-
Callers occupying less than 2.0% are not shown.
|
33
|
-
|
34
|
-
ticks parent name
|
35
|
-
3 23.1% /lib32/libm-2.7.so
|
36
|
-
3 100.0% LazyCompile: exp native math.js:41
|
37
|
-
3 100.0% Script: exp.js
|
38
|
-
|
39
|
-
2 15.4% v8::internal::Runtime_Math_exp(v8::internal::Arguments)
|
40
|
-
2 100.0% LazyCompile: exp native math.js:41
|
41
|
-
2 100.0% Script: exp.js
|
42
|
-
|
43
|
-
1 7.7% v8::internal::JSObject::LocalLookupRealNamedProperty(v8::internal::String*, v8::internal::LookupResult*)
|
44
|
-
1 100.0% Script: exp.js
|
45
|
-
|
46
|
-
1 7.7% v8::internal::HashTable<v8::internal::StringDictionaryShape, v8::internal::String*>::FindEntry(v8::internal::String*)
|
47
|
-
1 100.0% Script: exp.js
|
48
|
-
|
49
|
-
1 7.7% ffffe000-fffff000
|
50
|
-
|
51
|
-
1 7.7% exp
|
52
|
-
1 100.0% LazyCompile: exp native math.js:41
|
53
|
-
1 100.0% Script: exp.js
|
54
|
-
|
55
|
-
1 7.7% LoadIC: j
|
56
|
-
|
57
|
-
1 7.7% LoadIC: i
|
58
|
-
|
59
|
-
1 7.7% LazyCompile: exp native math.js:41
|
60
|
-
1 100.0% Script: exp.js
|
61
|
-
|
@@ -1,409 +0,0 @@
|
|
1
|
-
// Copyright 2009 the V8 project authors. All rights reserved.
|
2
|
-
// Redistribution and use in source and binary forms, with or without
|
3
|
-
// modification, are permitted provided that the following conditions are
|
4
|
-
// met:
|
5
|
-
//
|
6
|
-
// * Redistributions of source code must retain the above copyright
|
7
|
-
// notice, this list of conditions and the following disclaimer.
|
8
|
-
// * Redistributions in binary form must reproduce the above
|
9
|
-
// copyright notice, this list of conditions and the following
|
10
|
-
// disclaimer in the documentation and/or other materials provided
|
11
|
-
// with the distribution.
|
12
|
-
// * Neither the name of Google Inc. nor the names of its
|
13
|
-
// contributors may be used to endorse or promote products derived
|
14
|
-
// from this software without specific prior written permission.
|
15
|
-
//
|
16
|
-
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
17
|
-
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
18
|
-
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
19
|
-
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
20
|
-
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
21
|
-
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
22
|
-
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
23
|
-
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
24
|
-
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
25
|
-
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
26
|
-
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
27
|
-
|
28
|
-
// Load implementations from <project root>/tools.
|
29
|
-
// Files: tools/splaytree.js tools/codemap.js tools/csvparser.js
|
30
|
-
// Files: tools/consarray.js tools/profile.js tools/profile_view.js
|
31
|
-
// Files: tools/logreader.js tools/tickprocessor.js
|
32
|
-
// Env: TEST_FILE_NAME
|
33
|
-
|
34
|
-
|
35
|
-
(function testArgumentsProcessor() {
|
36
|
-
var p_default = new ArgumentsProcessor([]);
|
37
|
-
assertTrue(p_default.parse());
|
38
|
-
assertEquals(ArgumentsProcessor.DEFAULTS, p_default.result());
|
39
|
-
|
40
|
-
var p_logFile = new ArgumentsProcessor(['logfile.log']);
|
41
|
-
assertTrue(p_logFile.parse());
|
42
|
-
assertEquals('logfile.log', p_logFile.result().logFileName);
|
43
|
-
|
44
|
-
var p_platformAndLog = new ArgumentsProcessor(['--windows', 'winlog.log']);
|
45
|
-
assertTrue(p_platformAndLog.parse());
|
46
|
-
assertEquals('windows', p_platformAndLog.result().platform);
|
47
|
-
assertEquals('winlog.log', p_platformAndLog.result().logFileName);
|
48
|
-
|
49
|
-
var p_flags = new ArgumentsProcessor(['--gc', '--separate-ic']);
|
50
|
-
assertTrue(p_flags.parse());
|
51
|
-
assertEquals(TickProcessor.VmStates.GC, p_flags.result().stateFilter);
|
52
|
-
assertTrue(p_flags.result().separateIc);
|
53
|
-
|
54
|
-
var p_nmAndLog = new ArgumentsProcessor(['--nm=mn', 'nmlog.log']);
|
55
|
-
assertTrue(p_nmAndLog.parse());
|
56
|
-
assertEquals('mn', p_nmAndLog.result().nm);
|
57
|
-
assertEquals('nmlog.log', p_nmAndLog.result().logFileName);
|
58
|
-
|
59
|
-
var p_bad = new ArgumentsProcessor(['--unknown', 'badlog.log']);
|
60
|
-
assertFalse(p_bad.parse());
|
61
|
-
})();
|
62
|
-
|
63
|
-
|
64
|
-
(function testUnixCppEntriesProvider() {
|
65
|
-
var oldLoadSymbols = UnixCppEntriesProvider.prototype.loadSymbols;
|
66
|
-
|
67
|
-
// shell executable
|
68
|
-
UnixCppEntriesProvider.prototype.loadSymbols = function(libName) {
|
69
|
-
this.symbols = [[
|
70
|
-
' U operator delete[](void*)@@GLIBCXX_3.4',
|
71
|
-
'08049790 T _init',
|
72
|
-
'08049f50 T _start',
|
73
|
-
'08139150 00000b4b t v8::internal::Runtime_StringReplaceRegExpWithString(v8::internal::Arguments)',
|
74
|
-
'08139ca0 000003f1 T v8::internal::Runtime::GetElementOrCharAt(v8::internal::Handle<v8::internal::Object>, unsigned int)',
|
75
|
-
'0813a0b0 00000855 t v8::internal::Runtime_DebugGetPropertyDetails(v8::internal::Arguments)',
|
76
|
-
'0818b220 00000036 W v8::internal::RegExpMacroAssembler::CheckPosition(int, v8::internal::Label*)',
|
77
|
-
' w __gmon_start__',
|
78
|
-
'081f08a0 00000004 B stdout\n'
|
79
|
-
].join('\n'), ''];
|
80
|
-
};
|
81
|
-
|
82
|
-
var shell_prov = new UnixCppEntriesProvider();
|
83
|
-
var shell_syms = [];
|
84
|
-
shell_prov.parseVmSymbols('shell', 0x08048000, 0x081ee000,
|
85
|
-
function (name, start, end) {
|
86
|
-
shell_syms.push(Array.prototype.slice.apply(arguments, [0]));
|
87
|
-
});
|
88
|
-
assertEquals(
|
89
|
-
[['_init', 0x08049790, 0x08049f50],
|
90
|
-
['_start', 0x08049f50, 0x08139150],
|
91
|
-
['v8::internal::Runtime_StringReplaceRegExpWithString(v8::internal::Arguments)', 0x08139150, 0x08139150 + 0xb4b],
|
92
|
-
['v8::internal::Runtime::GetElementOrCharAt(v8::internal::Handle<v8::internal::Object>, unsigned int)', 0x08139ca0, 0x08139ca0 + 0x3f1],
|
93
|
-
['v8::internal::Runtime_DebugGetPropertyDetails(v8::internal::Arguments)', 0x0813a0b0, 0x0813a0b0 + 0x855],
|
94
|
-
['v8::internal::RegExpMacroAssembler::CheckPosition(int, v8::internal::Label*)', 0x0818b220, 0x0818b220 + 0x36]],
|
95
|
-
shell_syms);
|
96
|
-
|
97
|
-
// libc library
|
98
|
-
UnixCppEntriesProvider.prototype.loadSymbols = function(libName) {
|
99
|
-
this.symbols = [[
|
100
|
-
'000162a0 00000005 T __libc_init_first',
|
101
|
-
'0002a5f0 0000002d T __isnan',
|
102
|
-
'0002a5f0 0000002d W isnan',
|
103
|
-
'0002aaa0 0000000d W scalblnf',
|
104
|
-
'0002aaa0 0000000d W scalbnf',
|
105
|
-
'0011a340 00000048 T __libc_thread_freeres',
|
106
|
-
'00128860 00000024 R _itoa_lower_digits\n'].join('\n'), ''];
|
107
|
-
};
|
108
|
-
var libc_prov = new UnixCppEntriesProvider();
|
109
|
-
var libc_syms = [];
|
110
|
-
libc_prov.parseVmSymbols('libc', 0xf7c5c000, 0xf7da5000,
|
111
|
-
function (name, start, end) {
|
112
|
-
libc_syms.push(Array.prototype.slice.apply(arguments, [0]));
|
113
|
-
});
|
114
|
-
var libc_ref_syms = [['__libc_init_first', 0x000162a0, 0x000162a0 + 0x5],
|
115
|
-
['__isnan', 0x0002a5f0, 0x0002a5f0 + 0x2d],
|
116
|
-
['scalblnf', 0x0002aaa0, 0x0002aaa0 + 0xd],
|
117
|
-
['__libc_thread_freeres', 0x0011a340, 0x0011a340 + 0x48]];
|
118
|
-
for (var i = 0; i < libc_ref_syms.length; ++i) {
|
119
|
-
libc_ref_syms[i][1] += 0xf7c5c000;
|
120
|
-
libc_ref_syms[i][2] += 0xf7c5c000;
|
121
|
-
}
|
122
|
-
assertEquals(libc_ref_syms, libc_syms);
|
123
|
-
|
124
|
-
UnixCppEntriesProvider.prototype.loadSymbols = oldLoadSymbols;
|
125
|
-
})();
|
126
|
-
|
127
|
-
|
128
|
-
(function testMacCppEntriesProvider() {
|
129
|
-
var oldLoadSymbols = MacCppEntriesProvider.prototype.loadSymbols;
|
130
|
-
|
131
|
-
// shell executable
|
132
|
-
MacCppEntriesProvider.prototype.loadSymbols = function(libName) {
|
133
|
-
this.symbols = [[
|
134
|
-
' U operator delete[]',
|
135
|
-
'00001000 A __mh_execute_header',
|
136
|
-
'00001b00 T start',
|
137
|
-
'00001b40 t dyld_stub_binding_helper',
|
138
|
-
'0011b710 T v8::internal::RegExpMacroAssembler::CheckPosition',
|
139
|
-
'00134250 t v8::internal::Runtime_StringReplaceRegExpWithString',
|
140
|
-
'00137220 T v8::internal::Runtime::GetElementOrCharAt',
|
141
|
-
'00137400 t v8::internal::Runtime_DebugGetPropertyDetails',
|
142
|
-
'001c1a80 b _private_mem\n'
|
143
|
-
].join('\n'), ''];
|
144
|
-
};
|
145
|
-
|
146
|
-
var shell_prov = new MacCppEntriesProvider();
|
147
|
-
var shell_syms = [];
|
148
|
-
shell_prov.parseVmSymbols('shell', 0x00001b00, 0x00163156,
|
149
|
-
function (name, start, end) {
|
150
|
-
shell_syms.push(Array.prototype.slice.apply(arguments, [0]));
|
151
|
-
});
|
152
|
-
assertEquals(
|
153
|
-
[['start', 0x00001b00, 0x00001b40],
|
154
|
-
['dyld_stub_binding_helper', 0x00001b40, 0x0011b710],
|
155
|
-
['v8::internal::RegExpMacroAssembler::CheckPosition', 0x0011b710, 0x00134250],
|
156
|
-
['v8::internal::Runtime_StringReplaceRegExpWithString', 0x00134250, 0x00137220],
|
157
|
-
['v8::internal::Runtime::GetElementOrCharAt', 0x00137220, 0x00137400],
|
158
|
-
['v8::internal::Runtime_DebugGetPropertyDetails', 0x00137400, 0x00163156]],
|
159
|
-
shell_syms);
|
160
|
-
|
161
|
-
// stdc++ library
|
162
|
-
MacCppEntriesProvider.prototype.loadSymbols = function(libName) {
|
163
|
-
this.symbols = [[
|
164
|
-
'0000107a T __gnu_cxx::balloc::__mini_vector<std::pair<__gnu_cxx::bitmap_allocator<char>::_Alloc_block*, __gnu_cxx::bitmap_allocator<char>::_Alloc_block*> >::__mini_vector',
|
165
|
-
'0002c410 T std::basic_streambuf<char, std::char_traits<char> >::pubseekoff',
|
166
|
-
'0002c488 T std::basic_streambuf<char, std::char_traits<char> >::pubseekpos',
|
167
|
-
'000466aa T ___cxa_pure_virtual\n'].join('\n'), ''];
|
168
|
-
};
|
169
|
-
var stdc_prov = new MacCppEntriesProvider();
|
170
|
-
var stdc_syms = [];
|
171
|
-
stdc_prov.parseVmSymbols('stdc++', 0x95728fb4, 0x95770005,
|
172
|
-
function (name, start, end) {
|
173
|
-
stdc_syms.push(Array.prototype.slice.apply(arguments, [0]));
|
174
|
-
});
|
175
|
-
var stdc_ref_syms = [['__gnu_cxx::balloc::__mini_vector<std::pair<__gnu_cxx::bitmap_allocator<char>::_Alloc_block*, __gnu_cxx::bitmap_allocator<char>::_Alloc_block*> >::__mini_vector', 0x0000107a, 0x0002c410],
|
176
|
-
['std::basic_streambuf<char, std::char_traits<char> >::pubseekoff', 0x0002c410, 0x0002c488],
|
177
|
-
['std::basic_streambuf<char, std::char_traits<char> >::pubseekpos', 0x0002c488, 0x000466aa],
|
178
|
-
['___cxa_pure_virtual', 0x000466aa, 0x95770005 - 0x95728fb4]];
|
179
|
-
for (var i = 0; i < stdc_ref_syms.length; ++i) {
|
180
|
-
stdc_ref_syms[i][1] += 0x95728fb4;
|
181
|
-
stdc_ref_syms[i][2] += 0x95728fb4;
|
182
|
-
}
|
183
|
-
assertEquals(stdc_ref_syms, stdc_syms);
|
184
|
-
|
185
|
-
MacCppEntriesProvider.prototype.loadSymbols = oldLoadSymbols;
|
186
|
-
})();
|
187
|
-
|
188
|
-
|
189
|
-
(function testWindowsCppEntriesProvider() {
|
190
|
-
var oldLoadSymbols = WindowsCppEntriesProvider.prototype.loadSymbols;
|
191
|
-
|
192
|
-
WindowsCppEntriesProvider.prototype.loadSymbols = function(libName) {
|
193
|
-
this.symbols = [
|
194
|
-
' Start Length Name Class',
|
195
|
-
' 0001:00000000 000ac902H .text CODE',
|
196
|
-
' 0001:000ac910 000005e2H .text$yc CODE',
|
197
|
-
' Address Publics by Value Rva+Base Lib:Object',
|
198
|
-
' 0000:00000000 __except_list 00000000 <absolute>',
|
199
|
-
' 0001:00000000 ?ReadFile@@YA?AV?$Handle@VString@v8@@@v8@@PBD@Z 00401000 f shell.obj',
|
200
|
-
' 0001:000000a0 ?Print@@YA?AV?$Handle@VValue@v8@@@v8@@ABVArguments@2@@Z 004010a0 f shell.obj',
|
201
|
-
' 0001:00001230 ??1UTF8Buffer@internal@v8@@QAE@XZ 00402230 f v8_snapshot:scanner.obj',
|
202
|
-
' 0001:00001230 ??1Utf8Value@String@v8@@QAE@XZ 00402230 f v8_snapshot:api.obj',
|
203
|
-
' 0001:000954ba __fclose_nolock 004964ba f LIBCMT:fclose.obj',
|
204
|
-
' 0002:00000000 __imp__SetThreadPriority@8 004af000 kernel32:KERNEL32.dll',
|
205
|
-
' 0003:00000418 ?in_use_list_@PreallocatedStorage@internal@v8@@0V123@A 00544418 v8_snapshot:allocation.obj',
|
206
|
-
' Static symbols',
|
207
|
-
' 0001:00000b70 ?DefaultFatalErrorHandler@v8@@YAXPBD0@Z 00401b70 f v8_snapshot:api.obj',
|
208
|
-
' 0001:000010b0 ?EnsureInitialized@v8@@YAXPBD@Z 004020b0 f v8_snapshot:api.obj',
|
209
|
-
' 0001:000ad17b ??__Fnomem@?5???2@YAPAXI@Z@YAXXZ 004ae17b f LIBCMT:new.obj'
|
210
|
-
].join('\r\n');
|
211
|
-
};
|
212
|
-
var shell_prov = new WindowsCppEntriesProvider();
|
213
|
-
var shell_syms = [];
|
214
|
-
shell_prov.parseVmSymbols('shell.exe', 0x00400000, 0x0057c000,
|
215
|
-
function (name, start, end) {
|
216
|
-
shell_syms.push(Array.prototype.slice.apply(arguments, [0]));
|
217
|
-
});
|
218
|
-
assertEquals(
|
219
|
-
[['ReadFile', 0x00401000, 0x004010a0],
|
220
|
-
['Print', 0x004010a0, 0x00402230],
|
221
|
-
['v8::String::?1Utf8Value', 0x00402230, 0x004964ba],
|
222
|
-
['v8::DefaultFatalErrorHandler', 0x00401b70, 0x004020b0],
|
223
|
-
['v8::EnsureInitialized', 0x004020b0, 0x0057c000]],
|
224
|
-
shell_syms);
|
225
|
-
|
226
|
-
WindowsCppEntriesProvider.prototype.loadSymbols = oldLoadSymbols;
|
227
|
-
})();
|
228
|
-
|
229
|
-
|
230
|
-
// http://code.google.com/p/v8/issues/detail?id=427
|
231
|
-
(function testWindowsProcessExeAndDllMapFile() {
|
232
|
-
function exeSymbols(exeName) {
|
233
|
-
return [
|
234
|
-
' 0000:00000000 ___ImageBase 00400000 <linker-defined>',
|
235
|
-
' 0001:00000780 ?RunMain@@YAHHQAPAD@Z 00401780 f shell.obj',
|
236
|
-
' 0001:00000ac0 _main 00401ac0 f shell.obj',
|
237
|
-
''
|
238
|
-
].join('\r\n');
|
239
|
-
}
|
240
|
-
|
241
|
-
function dllSymbols(dllName) {
|
242
|
-
return [
|
243
|
-
' 0000:00000000 ___ImageBase 01c30000 <linker-defined>',
|
244
|
-
' 0001:00000780 _DllMain@12 01c31780 f libcmt:dllmain.obj',
|
245
|
-
' 0001:00000ac0 ___DllMainCRTStartup 01c31ac0 f libcmt:dllcrt0.obj',
|
246
|
-
''
|
247
|
-
].join('\r\n');
|
248
|
-
}
|
249
|
-
|
250
|
-
var oldRead = read;
|
251
|
-
|
252
|
-
read = exeSymbols;
|
253
|
-
var exe_exe_syms = [];
|
254
|
-
(new WindowsCppEntriesProvider()).parseVmSymbols(
|
255
|
-
'chrome.exe', 0x00400000, 0x00472000,
|
256
|
-
function (name, start, end) {
|
257
|
-
exe_exe_syms.push(Array.prototype.slice.apply(arguments, [0]));
|
258
|
-
});
|
259
|
-
assertEquals(
|
260
|
-
[['RunMain', 0x00401780, 0x00401ac0],
|
261
|
-
['_main', 0x00401ac0, 0x00472000]],
|
262
|
-
exe_exe_syms, '.exe with .exe symbols');
|
263
|
-
|
264
|
-
read = dllSymbols;
|
265
|
-
var exe_dll_syms = [];
|
266
|
-
(new WindowsCppEntriesProvider()).parseVmSymbols(
|
267
|
-
'chrome.exe', 0x00400000, 0x00472000,
|
268
|
-
function (name, start, end) {
|
269
|
-
exe_dll_syms.push(Array.prototype.slice.apply(arguments, [0]));
|
270
|
-
});
|
271
|
-
assertEquals(
|
272
|
-
[],
|
273
|
-
exe_dll_syms, '.exe with .dll symbols');
|
274
|
-
|
275
|
-
read = dllSymbols;
|
276
|
-
var dll_dll_syms = [];
|
277
|
-
(new WindowsCppEntriesProvider()).parseVmSymbols(
|
278
|
-
'chrome.dll', 0x01c30000, 0x02b80000,
|
279
|
-
function (name, start, end) {
|
280
|
-
dll_dll_syms.push(Array.prototype.slice.apply(arguments, [0]));
|
281
|
-
});
|
282
|
-
assertEquals(
|
283
|
-
[['_DllMain@12', 0x01c31780, 0x01c31ac0],
|
284
|
-
['___DllMainCRTStartup', 0x01c31ac0, 0x02b80000]],
|
285
|
-
dll_dll_syms, '.dll with .dll symbols');
|
286
|
-
|
287
|
-
read = exeSymbols;
|
288
|
-
var dll_exe_syms = [];
|
289
|
-
(new WindowsCppEntriesProvider()).parseVmSymbols(
|
290
|
-
'chrome.dll', 0x01c30000, 0x02b80000,
|
291
|
-
function (name, start, end) {
|
292
|
-
dll_exe_syms.push(Array.prototype.slice.apply(arguments, [0]));
|
293
|
-
});
|
294
|
-
assertEquals(
|
295
|
-
[],
|
296
|
-
dll_exe_syms, '.dll with .exe symbols');
|
297
|
-
|
298
|
-
read = oldRead;
|
299
|
-
})();
|
300
|
-
|
301
|
-
|
302
|
-
function CppEntriesProviderMock() {
|
303
|
-
};
|
304
|
-
|
305
|
-
|
306
|
-
CppEntriesProviderMock.prototype.parseVmSymbols = function(
|
307
|
-
name, startAddr, endAddr, symbolAdder) {
|
308
|
-
var symbols = {
|
309
|
-
'shell':
|
310
|
-
[['v8::internal::JSObject::LocalLookupRealNamedProperty(v8::internal::String*, v8::internal::LookupResult*)', 0x080f8800, 0x080f8d90],
|
311
|
-
['v8::internal::HashTable<v8::internal::StringDictionaryShape, v8::internal::String*>::FindEntry(v8::internal::String*)', 0x080f8210, 0x080f8800],
|
312
|
-
['v8::internal::Runtime_Math_exp(v8::internal::Arguments)', 0x08123b20, 0x08123b80]],
|
313
|
-
'/lib32/libm-2.7.so':
|
314
|
-
[['exp', startAddr + 0x00009e80, startAddr + 0x00009e80 + 0xa3],
|
315
|
-
['fegetexcept', startAddr + 0x000061e0, startAddr + 0x000061e0 + 0x15]],
|
316
|
-
'ffffe000-fffff000': []};
|
317
|
-
assertTrue(name in symbols);
|
318
|
-
var syms = symbols[name];
|
319
|
-
for (var i = 0; i < syms.length; ++i) {
|
320
|
-
symbolAdder.apply(null, syms[i]);
|
321
|
-
}
|
322
|
-
};
|
323
|
-
|
324
|
-
|
325
|
-
function PrintMonitor(outputOrFileName) {
|
326
|
-
var expectedOut = typeof outputOrFileName == 'string' ?
|
327
|
-
this.loadExpectedOutput(outputOrFileName) : outputOrFileName;
|
328
|
-
var outputPos = 0;
|
329
|
-
var diffs = this.diffs = [];
|
330
|
-
var realOut = this.realOut = [];
|
331
|
-
var unexpectedOut = this.unexpectedOut = null;
|
332
|
-
|
333
|
-
this.oldPrint = print;
|
334
|
-
print = function(str) {
|
335
|
-
var strSplit = str.split('\n');
|
336
|
-
for (var i = 0; i < strSplit.length; ++i) {
|
337
|
-
s = strSplit[i];
|
338
|
-
realOut.push(s);
|
339
|
-
if (outputPos < expectedOut.length) {
|
340
|
-
if (expectedOut[outputPos] != s) {
|
341
|
-
diffs.push('line ' + outputPos + ': expected <' +
|
342
|
-
expectedOut[outputPos] + '> found <' + s + '>\n');
|
343
|
-
}
|
344
|
-
outputPos++;
|
345
|
-
} else {
|
346
|
-
unexpectedOut = true;
|
347
|
-
}
|
348
|
-
}
|
349
|
-
};
|
350
|
-
};
|
351
|
-
|
352
|
-
|
353
|
-
PrintMonitor.prototype.loadExpectedOutput = function(fileName) {
|
354
|
-
var output = readFile(fileName);
|
355
|
-
return output.split('\n');
|
356
|
-
};
|
357
|
-
|
358
|
-
|
359
|
-
PrintMonitor.prototype.finish = function() {
|
360
|
-
print = this.oldPrint;
|
361
|
-
if (this.diffs.length > 0 || this.unexpectedOut != null) {
|
362
|
-
print(this.realOut.join('\n'));
|
363
|
-
assertEquals([], this.diffs);
|
364
|
-
assertNull(this.unexpectedOut);
|
365
|
-
}
|
366
|
-
};
|
367
|
-
|
368
|
-
|
369
|
-
function driveTickProcessorTest(
|
370
|
-
separateIc, ignoreUnknown, stateFilter, logInput, refOutput) {
|
371
|
-
// TEST_FILE_NAME must be provided by test runner.
|
372
|
-
assertEquals('string', typeof TEST_FILE_NAME);
|
373
|
-
var pathLen = TEST_FILE_NAME.lastIndexOf('/');
|
374
|
-
if (pathLen == -1) {
|
375
|
-
pathLen = TEST_FILE_NAME.lastIndexOf('\\');
|
376
|
-
}
|
377
|
-
assertTrue(pathLen != -1);
|
378
|
-
var testsPath = TEST_FILE_NAME.substr(0, pathLen + 1);
|
379
|
-
var tp = new TickProcessor(
|
380
|
-
new CppEntriesProviderMock(), separateIc, ignoreUnknown, stateFilter);
|
381
|
-
var pm = new PrintMonitor(testsPath + refOutput);
|
382
|
-
tp.processLogFile(testsPath + logInput);
|
383
|
-
// Hack file name to avoid dealing with platform specifics.
|
384
|
-
tp.lastLogFileName_ = 'v8.log';
|
385
|
-
tp.printStatistics();
|
386
|
-
pm.finish();
|
387
|
-
};
|
388
|
-
|
389
|
-
|
390
|
-
(function testProcessing() {
|
391
|
-
var testData = {
|
392
|
-
'Default': [
|
393
|
-
false, false, null,
|
394
|
-
'tickprocessor-test.log', 'tickprocessor-test.default'],
|
395
|
-
'SeparateIc': [
|
396
|
-
true, false, null,
|
397
|
-
'tickprocessor-test.log', 'tickprocessor-test.separate-ic'],
|
398
|
-
'IgnoreUnknown': [
|
399
|
-
false, true, null,
|
400
|
-
'tickprocessor-test.log', 'tickprocessor-test.ignore-unknown'],
|
401
|
-
'GcState': [
|
402
|
-
false, false, TickProcessor.VmStates.GC,
|
403
|
-
'tickprocessor-test.log', 'tickprocessor-test.gc-state']
|
404
|
-
};
|
405
|
-
for (var testName in testData) {
|
406
|
-
print('=== testProcessing-' + testName + ' ===');
|
407
|
-
driveTickProcessorTest.apply(null, testData[testName]);
|
408
|
-
}
|
409
|
-
})();
|