v8/test/cctest/wasm
Clemens Hammacher 4254af197b [wasm] Use right data type for storing error location
Use int instead of byte to store the source position when computing a
location based on the stack trace stored in an error object.
Also add tests, since this code path was not covered before (not even
for small position where it would have succeeded).
Also, add some comments about which positions are 0-based and 1-based.

R=titzer@chromium.org

Change-Id: I313dcd6c47b77093ced9bb687415715d04eafb97
Reviewed-on: https://chromium-review.googlesource.com/645527
Reviewed-by: Ben Titzer <titzer@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47739}
2017-08-31 11:07:25 +00:00
..
OWNERS Add eholk to Wasm-related OWNERS files 2017-08-10 18:58:00 +00:00
test-c-wasm-entry.cc Revert "Revert "[wasm] Rename TestingModule to TestingModuleBuilder."" 2017-08-19 16:34:27 +00:00
test-run-wasm-64.cc Revert "Revert "[wasm] Rename TestingModule to TestingModuleBuilder."" 2017-08-19 16:34:27 +00:00
test-run-wasm-asmjs.cc Revert "Revert "[wasm] Rename TestingModule to TestingModuleBuilder."" 2017-08-19 16:34:27 +00:00
test-run-wasm-atomics.cc [wasm] Implement atomics Exchange, CompareExchange 2017-08-25 22:09:01 +00:00
test-run-wasm-interpreter.cc Revert "Revert "[wasm] Rename TestingModule to TestingModuleBuilder."" 2017-08-19 16:34:27 +00:00
test-run-wasm-js.cc Revert "Revert "[wasm] Rename TestingModule to TestingModuleBuilder."" 2017-08-19 16:34:27 +00:00
test-run-wasm-module.cc [wasm] Avoid including heap-inl.h in wasm-objects.h 2017-08-31 07:13:18 +00:00
test-run-wasm-relocation.cc Revert "Revert "[wasm] Rename TestingModule to TestingModuleBuilder."" 2017-08-19 16:34:27 +00:00
test-run-wasm-simd.cc Revert "Revert "[wasm] Rename TestingModule to TestingModuleBuilder."" 2017-08-19 16:34:27 +00:00
test-run-wasm.cc Revert "Revert "[wasm] Rename TestingModule to TestingModuleBuilder."" 2017-08-19 16:34:27 +00:00
test-wasm-breakpoints.cc Revert "Revert "[wasm] Rename TestingModule to TestingModuleBuilder."" 2017-08-19 16:34:27 +00:00
test-wasm-interpreter-entry.cc Revert "Revert "[wasm] Rename TestingModule to TestingModuleBuilder."" 2017-08-19 16:34:27 +00:00
test-wasm-stack.cc [wasm] Use right data type for storing error location 2017-08-31 11:07:25 +00:00
test-wasm-trap-position.cc Pass Isolate pointer to String::Utf8Value/Value constructors 2017-08-28 18:17:08 +00:00
wasm-run-utils.h [wasm] Use right data type for storing error location 2017-08-31 11:07:25 +00:00