v8/test/debugger/debug/side-effect
Benedikt Meurer fb2768bdf7 [debug] Mark side-effect free builtins and intrinsics as such.
While working on C++ debug evaluate, we found that several builtins and
intrinsics aren't marked as side effect free, although they are clearly
side effect free, and that breaks the C++ side effect free evaluation.

- %DefineClass() and %TypedArray%.of(), and
- various WebAssembly getters ("buffer", "exports" and "length") as
  well as the C++ functions for the debug proxy.

Also-By: pfaffe@chromium.org
Bug: chromium:1137514
Change-Id: Iebd333dc2014f1ad218908f64c9199c157dc08b5
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2565135
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71498}
2020-11-30 16:10:44 +00:00
..
debug-evaluate-no-side-effect-async.js Mark intrinsics AsyncFunction{Enter,Reject,Resolve} as side-effect free 2020-01-21 08:45:17 +00:00
debug-evaluate-no-side-effect-builtins-2.js Reland "[debug] Mark toLocaleString and TA#join builtins as side-effect free." 2019-04-02 18:47:12 +00:00
debug-evaluate-no-side-effect-builtins.js [debug] Mark side-effect free builtins and intrinsics as such. 2020-11-30 16:10:44 +00:00
debug-evaluate-no-side-effect-control.js [debug] allow calls to some builtins on temporary objects 2018-04-11 13:41:56 +00:00
debug-evaluate-no-side-effect-iife.js
debug-evaluate-no-side-effect-ops.js [debug] allow calls to some builtins on temporary objects 2018-04-11 13:41:56 +00:00
debug-evaluate-no-side-effect-regexp.js [debugger] allow some map, set, regexp and array builtins on tmp objects.. 2018-04-20 02:26:44 +00:00
debug-evaluate-no-side-effect-runtime-check.js Reland "[interpreter] Separate bytecodes for one-shot property loads and stores" 2018-09-27 13:56:53 +00:00
debug-evaluate-no-side-effect.js [Respect] Rename lists 2020-06-22 15:15:31 +00:00