v8/test/cctest/compiler
Georg Neis 4c41299d8c [compiler] Fix serialization for Function#bind
It was not in sync with the optimization, which relies on
inspecting up the length and name fields even for bound
functions.

To make a now meaningful serializer test actually pass, I have
to to make some changes to the test setup.

I'm also moving the function name and length index constants
from JSFunction to JSFunctionOrBoundFunction for clarity.

TBR=marja@chromium.org

Bug: v8:7790
Change-Id: I36dd3c80996ccb53810c7ea9bfceb5c84ffd60ab
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2972919
Commit-Queue: Georg Neis <neis@chromium.org>
Reviewed-by: Santiago Aboy Solanes <solanes@chromium.org>
Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#75299}
2021-06-22 12:42:19 +00:00
..
c-signature.h [test] Fix UBSan failure 2021-02-12 11:24:53 +00:00
call-tester.h Move handles-related files to src/handles 2019-05-23 06:00:15 +00:00
code-assembler-tester.h [runtime] Rename Builtins::Name to Builtin 1/2 2021-06-07 20:05:44 +00:00
codegen-tester.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
codegen-tester.h [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
function-tester.cc [TurboFan] Mark Code object as never serialized 2021-02-19 14:49:47 +00:00
function-tester.h Move handles-related files to src/handles 2019-05-23 06:00:15 +00:00
graph-and-builders.h [zone] Cleanup zone allocations in src/compiler and tests, pt.3 2020-07-10 16:39:05 +00:00
node-observer-tester.h Reland "[no-wasm] Exclude src/wasm from compilation" 2021-03-11 14:29:26 +00:00
serializer-tester.cc [compiler] Fix serialization for Function#bind 2021-06-22 12:42:19 +00:00
serializer-tester.h [compiler] Fix serialization for Function#bind 2021-06-22 12:42:19 +00:00
test-basic-block-profiler.cc Don't use floating-point values in basic block instrumentation 2021-02-10 14:15:20 +00:00
test-branch-combine.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
test-calls-with-arraylike-or-spread.cc Fix lite-mode buils broken by Generalize CallWithArrayLike optimization 2021-05-25 07:07:12 +00:00
test-code-assembler.cc [assembler] Add build flag for --code-comments 2021-04-20 07:25:23 +00:00
test-code-generator.cc [isolate][cleanup] Remove pointer to WasmEngine 2021-06-21 09:09:25 +00:00
test-concurrent-shared-function-info.cc [compiler] Remove --turbo-direct-heap-access 2021-04-26 06:59:16 +00:00
test-gap-resolver.cc [config] Add V8_NODISCARD for Scope classes 2020-11-26 11:08:45 +00:00
test-graph-visualizer.cc Reland "[zone-compr] Introduce ZoneTypeTraits and ZoneCompression" 2020-07-31 11:43:08 +00:00
test-instruction-scheduler.cc Reland "[zone-compr] Introduce ZoneTypeTraits and ZoneCompression" 2020-07-31 11:43:08 +00:00
test-instruction.cc [zone-compr] Add kCompressGraphZone constant 2020-07-24 08:50:11 +00:00
test-js-constant-cache.cc Reland "[compiler] Remove one ObjectRef constructor" 2021-05-25 16:38:45 +00:00
test-js-context-specialization.cc Reland "[compiler] Remove one ObjectRef constructor" 2021-05-25 16:38:45 +00:00
test-js-typed-lowering.cc [compiler] Rename type BailoutId to BytecodeOffset 2021-01-20 13:03:41 +00:00
test-jump-threading.cc [compiler] Inline 64bit immediates and RPO numbers in InstructionOperand 2021-03-25 21:39:18 +00:00
test-linkage.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-loop-analysis.cc [zone-compr] Add kCompressGraphZone constant 2020-07-24 08:50:11 +00:00
test-machine-operator-reducer.cc [compiler] Fix --trace-turbo-reduction in the presence of direct reads 2020-09-11 17:21:43 +00:00
test-multiple-return.cc [isolate][cleanup] Remove pointer to WasmEngine 2021-06-21 09:09:25 +00:00
test-node.cc Reland "[zone-compr] Introduce ZoneTypeTraits and ZoneCompression" 2020-07-31 11:43:08 +00:00
test-operator.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
test-representation-change.cc [compiler] Fix bogus integer range types 2021-04-27 15:26:39 +00:00
test-run-bytecode-graph-builder.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-run-calls-to-external-references.cc Reland "[no-wasm] Exclude src/wasm from compilation" 2021-03-11 14:29:26 +00:00
test-run-deopt.cc Move relevant files to src/execution 2019-05-22 08:36:33 +00:00
test-run-jsbranches.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
test-run-jscalls.cc [interpreter] Remove unused interpreter intrinsics 2021-06-17 13:43:41 +00:00
test-run-jsexceptions.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
test-run-jsobjects.cc [keys] Handle RangeError in GetKeysWithPrototypeInfoCache 2020-03-04 13:38:10 +00:00
test-run-jsops.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
test-run-load-store.cc [ptr-compr] Enable pointer compression on s390x 2020-03-31 17:06:17 +00:00
test-run-machops.cc [ppc64] Use signed integers for machine ops tests 2021-06-18 13:40:08 +00:00
test-run-native-calls.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-run-retpoline.cc [compiler] Refactor CallDescriptor methods 2021-03-06 01:44:20 +00:00
test-run-stackcheck.cc Move relevant files to src/execution 2019-05-22 08:36:33 +00:00
test-run-tail-calls.cc [compiler] Refactor CallDescriptor methods 2021-03-06 01:44:20 +00:00
test-run-unwinding-info.cc Remove --perf-prof flag on non-linux 2020-01-10 13:58:50 +00:00
test-run-variables.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-sloppy-equality.cc Reland "[no-wasm] Exclude src/wasm from compilation" 2021-03-11 14:29:26 +00:00
test-verify-type.cc [TurboFan] Add %VerifyType intrinsic 2021-05-05 10:20:07 +00:00
value-helper.cc Reland "[test] Avoid unnecessary std::vector allocations" 2017-10-19 08:47:31 +00:00
value-helper.h [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00