v8/test/cctest
Marja Hölttä db50b49128 [csa, torque, cleanup] Rename CSA_ASSERT to CSA_DCHECK
It's confusing that we have CSA_CHECK and CSA_ASSERT and it's not
clear from the names that the former works in release mode and the
latter only in debug mode.

Renaming CSA_ASSERT to CSA_DCHECK makes it clear what it does. So now
we have CSA_CHECK and CSA_DCHECK and they're not confusing.

This also renames assert() in Torque to dcheck().

Bug: v8:12244
Change-Id: I6f25d431ebc6eec7ebe326b6b8ad3a0ac5e9a108
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3190104
Reviewed-by: Nico Hartmann <nicohartmann@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Reviewed-by: Shu-yu Guo <syg@chromium.org>
Commit-Queue: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77160}
2021-09-30 08:41:23 +00:00
..
compiler [cleanup] Remove variable shadowing in cctest/compiler/* 2021-09-27 15:31:19 +00:00
heap [csa, torque, cleanup] Rename CSA_ASSERT to CSA_DCHECK 2021-09-30 08:41:23 +00:00
interpreter [cleanup][test] Don't rely on __COUNTER__ in expectations 2021-09-28 11:09:05 +00:00
libplatform
libsampler Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
parsing [cleanup] Fix Wshadow warnings in cctests 2021-09-27 09:18:00 +00:00
torque [csa, torque, cleanup] Rename CSA_ASSERT to CSA_DCHECK 2021-09-30 08:41:23 +00:00
wasm [wasm] Move misplaced DCHECK in wasm interpreter 2021-09-28 13:08:49 +00:00
assembler-helper-arm.cc
assembler-helper-arm.h
BUILD.gn Reland "[compiler] Support acq/rel accesses and atomic accesses on tagged" 2021-08-19 18:23:57 +00:00
cctest-utils.h [LOONG64] Add LoongArch64 backend 2021-08-16 13:05:19 +00:00
cctest.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
cctest.h [cctest][wasm] Ensure FLAG_stack_size has an effect 2021-05-03 14:24:46 +00:00
cctest.status [mips64][loong64][codegen] Sign-extend uint32 values to 64-bit 2021-09-30 07:53:06 +00:00
collector.h [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
DEPS
disasm-regex-helper.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
disasm-regex-helper.h
expression-type-collector-macros.h
gay-fixed.cc Reland "[base] Move most of src/numbers into base" 2021-06-24 15:00:27 +00:00
gay-fixed.h Reland "[base] Move most of src/numbers into base" 2021-06-24 15:00:27 +00:00
gay-precision.cc Reland "[base] Move most of src/numbers into base" 2021-06-24 15:00:27 +00:00
gay-precision.h Reland "[base] Move most of src/numbers into base" 2021-06-24 15:00:27 +00:00
gay-shortest.cc Reland "[base] Move most of src/numbers into base" 2021-06-24 15:00:27 +00:00
gay-shortest.h Reland "[base] Move most of src/numbers into base" 2021-06-24 15:00:27 +00:00
manually-externalized-buffer.h
OWNERS Update OWNERS in test/* 2021-02-25 14:26:24 +00:00
print-extension.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
print-extension.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
profiler-extension.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
profiler-extension.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
scope-test-helper.h
setup-isolate-for-tests.cc
setup-isolate-for-tests.h
test-access-checks.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-accessor-assembler.cc [ext-code-space][ic] Migrate IC handlers to CodeT 2021-06-17 14:55:31 +00:00
test-accessors.cc [cleanup] Fix Wshadow warnings in cctests 2021-09-27 09:18:00 +00:00
test-allocation.cc [cleanup][test] Remove redundant NOLINT annotations 2021-04-30 11:46:14 +00:00
test-api-accessors.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-api-array-buffer.cc [builtins] DataView should throws on detached buffer 2021-09-14 16:49:36 +00:00
test-api-icu.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-api-interceptors.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-api-stack-traces.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-api-typed-array.cc [base] Create base/strings.h 2021-06-22 16:55:32 +00:00
test-api-wasm.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-api.cc [cleanup] Fix Wshadow warnings in cctests 2021-09-27 09:18:00 +00:00
test-api.h Reland "Fix -Wimplicit-int-float-conversions." 2021-06-29 16:36:18 +00:00
test-array-list.cc
test-assembler-arm64.cc Fix some -Wunreachable-code-aggressive warnings 2021-08-16 06:45:22 +00:00
test-assembler-arm.cc [wasm-simd][arm] Fuse extadd_pairwise and add SIMD on arm. 2021-06-28 14:26:00 +00:00
test-assembler-ia32.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-assembler-loong64.cc [LOONG64] Add LoongArch64 backend 2021-08-16 13:05:19 +00:00
test-assembler-mips64.cc [cleanup][test] Remove redundant NOLINT annotations 2021-04-30 11:46:14 +00:00
test-assembler-mips.cc [cleanup][test] Remove redundant NOLINT annotations 2021-04-30 11:46:14 +00:00
test-assembler-ppc.cc PPC [simd]: Add tests for some word sized vector instructions 2021-08-16 21:34:29 +00:00
test-assembler-riscv64.cc [riscv64][wasm]Add Vector instrs 2021-09-07 16:11:22 +00:00
test-assembler-s390.cc
test-assembler-x64.cc [x64] Implement 256-bit assembly for vroundps/pd, vpblendw, vpalignr 2021-09-26 02:01:18 +00:00
test-atomicops.cc Fix data race in TypedArray::copyWithin 2021-07-16 11:41:24 +00:00
test-bignum-dtoa.cc Reland "[base] Move most of src/numbers into base" 2021-06-24 15:00:27 +00:00
test-bignum.cc Reland "[base] Move most of src/numbers into base" 2021-06-24 15:00:27 +00:00
test-bit-vector.cc
test-circular-queue.cc
test-code-layout.cc
test-code-pages.cc [sparkplug] Remove BaselineData, use Code directly 2021-09-06 11:52:21 +00:00
test-code-stub-assembler.cc [csa, torque, cleanup] Rename CSA_ASSERT to CSA_DCHECK 2021-09-30 08:41:23 +00:00
test-compiler.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-concurrent-descriptor-array.cc
test-concurrent-feedback-vector.cc [cleanup] Fix Wshadow warnings in cctests 2021-09-27 09:18:00 +00:00
test-concurrent-js-array.cc Reland "[compiler] Direct heap reads for JSArrayRef" 2021-02-22 12:15:50 +00:00
test-concurrent-prototype.cc [cleanup] Remove synchronized_ from map accessors 2021-05-17 15:07:46 +00:00
test-concurrent-script-context-table.cc [cleanup] Fix Wshadow warnings in cctests 2021-09-27 09:18:00 +00:00
test-concurrent-string.cc [string] Skip concurrent tests if FLAG_single_generation is on 2021-06-09 12:30:28 +00:00
test-concurrent-transition-array.cc
test-constantpool.cc
test-conversions.cc
test-cpu-profiler.cc [cleanup] Fix Wshadow warnings in cctests 2021-09-27 09:18:00 +00:00
test-date.cc
test-debug-helper.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-debug.cc [cleanup] Fix Wshadow warnings in cctests 2021-09-27 09:18:00 +00:00
test-decls.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-deoptimization.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-descriptor-array.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-dictionary.cc
test-disasm-arm64.cc [wasm-simd] Remove PrefetchTemporal and PrefetchNonTemporal operations 2021-03-22 17:47:49 +00:00
test-disasm-arm.cc [wasm-simd][arm] Fuse extadd_pairwise and add SIMD on arm. 2021-06-28 14:26:00 +00:00
test-disasm-ia32.cc [ia32] Use AVX if supported 2021-09-10 23:24:49 +00:00
test-disasm-loong64.cc [loong64] Adjust the disassembler instruction format 2021-09-10 09:08:49 +00:00
test-disasm-mips64.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-disasm-mips.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-disasm-ppc.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-disasm-riscv64.cc [riscv64][wasm]Add Vector instrs 2021-09-07 16:11:22 +00:00
test-disasm-s390.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-disasm-x64.cc [x64] Verify disassembly of SSE2 instructions 2021-09-24 01:37:03 +00:00
test-diy-fp.cc Reland "[base] Move most of src/numbers into base" 2021-06-24 15:00:27 +00:00
test-double.cc Reland "[base] Move most of src/numbers into base" 2021-06-24 15:00:27 +00:00
test-dtoa.cc Reland "[base] Move most of src/numbers into base" 2021-06-24 15:00:27 +00:00
test-elements-kind.cc
test-factory.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-fast-dtoa.cc Reland "[base] Move most of src/numbers into base" 2021-06-24 15:00:27 +00:00
test-feedback-vector.cc Fix FeedbackNexus::SetSpeculationMode 2021-05-27 14:39:03 +00:00
test-feedback-vector.h [runtime] Rename Builtins::Name to Builtin 1/2 2021-06-07 20:05:44 +00:00
test-field-type-tracking.cc [cleanup] Make PropertyLocation a scoped enum 2021-09-28 18:39:41 +00:00
test-fixed-dtoa.cc Reland "[base] Move most of src/numbers into base" 2021-06-24 15:00:27 +00:00
test-flags.cc [no-wasm][flags] Remove wasm flags 2021-03-16 07:31:25 +00:00
test-func-name-inference.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-fuzz-arm64.cc
test-global-handles.cc [cleanup] Fix Wshadow warnings in cctests 2021-09-27 09:18:00 +00:00
test-global-object.cc
test-hashcode.cc [dict-proto] Rename v8_dict_mode_prototypes flag 2021-03-29 11:53:45 +00:00
test-hashmap.cc
test-heap-profiler.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-helper-riscv64.cc
test-helper-riscv64.h
test-icache.cc [LOONG64] Add LoongArch64 backend 2021-08-16 13:05:19 +00:00
test-identity-map.cc [string] Remove FLAG_thin_string and enable it all the time 2021-06-09 09:52:48 +00:00
test-ignition-statistics-extension.cc Fix counting ignition dispatches 2021-06-07 18:47:24 +00:00
test-inobject-slack-tracking.cc Refactor of ScopeInfo::ContextSlotIndex 2021-05-19 18:12:40 +00:00
test-inspector.cc [inspector] Use ephemeron table for exception metadata 2021-09-16 08:45:11 +00:00
test-intl.cc [Temporal] Preparation Refactor 2 2021-09-14 19:47:18 +00:00
test-javascript-arm64.cc
test-js-arm64-variables.cc
test-js-to-wasm.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-js-weak-refs.cc [cleanup] Use @doNotGenerateCppClass on fewer classes 2021-08-30 16:45:18 +00:00
test-liveedit.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-local-handles.cc
test-lockers.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-log-stack-tracer.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-log.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-macro-assembler-arm64.cc [runtime] Rename Builtins::Name to Builtin 1/2 2021-06-07 20:05:44 +00:00
test-macro-assembler-arm.cc [runtime] Rename Builtins::Name to Builtin 1/2 2021-06-07 20:05:44 +00:00
test-macro-assembler-loong64.cc [loong64] Optimize GenerateSwitchTable 2021-09-08 10:41:51 +00:00
test-macro-assembler-mips64.cc [mips] Fix build failed 2021-06-15 04:24:28 +00:00
test-macro-assembler-mips.cc [runtime] Rename Builtins::Name to Builtin 1/2 2021-06-07 20:05:44 +00:00
test-macro-assembler-riscv64.cc [riscv64] Delete s10 from scratch_list 2021-08-19 07:11:26 +00:00
test-macro-assembler-x64.cc [ia32][x64] Share Absps/Abspd/Negps/Negpd implementation 2021-09-13 18:34:30 +00:00
test-managed.cc [ext-code-space] Introduce managed-inl.h and global-handles-inl.h 2021-09-20 10:29:29 +00:00
test-mementos.cc [heap] Make creation of NewSpace and NewLargeObjectSpace optional 2021-05-04 06:47:54 +00:00
test-modules.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-object.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-orderedhashtable.cc
test-parsing.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-persistent-handles.cc
test-platform.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-pointer-auth-arm64.cc
test-profile-generator.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-property-details.cc
test-ptr-compr-cage.cc Revert "[ptr-cage] Better support sharing CodeRange with re-embedded builtins" 2021-05-13 21:40:27 +00:00
test-random-number-generator.cc
test-regexp.cc [regexp] Hide the generic JSRegExp::DataAt/SetDataAt accessors 2021-09-29 11:37:41 +00:00
test-representation.cc
test-roots.cc
test-sampler-api.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-serialize.cc [regexp] Hide the generic JSRegExp::DataAt/SetDataAt accessors 2021-09-29 11:37:41 +00:00
test-simple-riscv64.cc [cleanup][test] Remove redundant NOLINT annotations 2021-04-30 11:46:14 +00:00
test-smi-lexicographic-compare.cc
test-stack-unwinding-win64.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-strings.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-strtod.cc Reland "[base] Move most of src/numbers into base" 2021-06-24 15:00:27 +00:00
test-swiss-name-dictionary-csa.cc [csa, torque, cleanup] Rename CSA_ASSERT to CSA_DCHECK 2021-09-30 08:41:23 +00:00
test-swiss-name-dictionary-infra.cc Reland [dict-proto] C++ implementation of SwissNameDictionary, pt. 10 2021-03-24 17:12:21 +00:00
test-swiss-name-dictionary-infra.h Reland [dict-proto] C++ implementation of SwissNameDictionary, pt. 10 2021-03-24 17:12:21 +00:00
test-swiss-name-dictionary-shared-tests.h Reland "[dict-proto] SIMD support for SwissNameDictionary in Torque" 2021-03-31 13:01:34 +00:00
test-swiss-name-dictionary.cc Reland "[dict-proto] SIMD support for SwissNameDictionary in Torque" 2021-03-31 13:01:34 +00:00
test-symbols.cc
test-sync-primitives-arm64.cc
test-sync-primitives-arm.cc
test-thread-termination.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-threads.cc
test-trace-event.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-traced-value.cc
test-transitions.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-transitions.h
test-typedarrays.cc [api] Remove deprecated [Shared]ArrayBuffer API 2021-03-12 16:24:42 +00:00
test-types.cc Reland "[base] Move most of src/numbers into base" 2021-06-24 15:00:27 +00:00
test-unscopables-hidden-prototype.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-unwinder-code-pages.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-usecounters.cc
test-utils-arm64.cc
test-utils-arm64.h
test-utils.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-v8windbg.cc
test-verifiers.cc [cleanup] Remove atomic kRelaxed accessors in favour for non-atomic ones 2021-03-08 10:57:19 +00:00
test-version.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-virtual-memory-cage.cc Introduce v8_enable_virtual_memory_cage 2021-08-11 16:13:42 +00:00
test-weakmaps.cc [ext-code-space] Introduce managed-inl.h and global-handles-inl.h 2021-09-20 10:29:29 +00:00
test-weaksets.cc [ext-code-space] Introduce managed-inl.h and global-handles-inl.h 2021-09-20 10:29:29 +00:00
test-web-snapshots.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
testcfg.py
trace-extension.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
trace-extension.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
unicode-helpers.cc
unicode-helpers.h