d7fc0134ee
Several of the cctest/test-bytecode-generator/* tests used to rely on the __COUNTER__ C++ compiler macro, which could cause spurious test failures due to mismatched expectations when usages of that macro were added or removed elsewhere in the code. This patch switches to a custom, controllable static counter variable instead, to make the tests' behaviors self-contained. Bug: v8:12244 Change-Id: I4d875b6095e4ee4ef91933ab8c60c89054d1894a Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3186836 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#77111} |
||
---|---|---|
.. | ||
bytecode_expectations | ||
bytecode-expectations-printer.cc | ||
bytecode-expectations-printer.h | ||
generate-bytecode-expectations.cc | ||
interpreter-tester.cc | ||
interpreter-tester.h | ||
source-position-matcher.cc | ||
source-position-matcher.h | ||
test-bytecode-generator.cc | ||
test-interpreter-intrinsics.cc | ||
test-interpreter.cc | ||
test-source-positions.cc |