v8/test/cctest/compiler
Peter Marshall 4942076091 [cleanup] Don't declare inline runtime functions by default
For each intrinsic/runtime function we define in runtime.h, an inline
version is automatically declared. We only ever use 24 of the inline
functions. Even though we don't call the other ones, macro magic means
they still take up space by existing in various arrays and tables like
kIntrinsicFunctions. They also create code in switch statements.

Some drive-by cleanups:
 - Remove the switch in NameForRuntimeId() and just use the table of
   runtime functions to lookup the name directly.
 - Remove tests for IsFunction, ClassOf and StringAdd intrinsics as
   they are the last users of the inline versions of these.
 - Remove the MaxSmi inline version as it is only used in tests.

Saves 64 KiB binary size.

Change-Id: I4c870ddacd2655ffcffa97d93200ed8f853752f5
Reviewed-on: https://chromium-review.googlesource.com/c/1261939
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#56412}
2018-10-05 13:10:56 +00:00
..
c-signature.h [test] Fix usages of std::array initializer lists. 2018-01-16 17:14:29 +00:00
call-tester.h [cleanup] Refactor compiler to use default members. 2018-09-17 12:12:21 +00:00
code-assembler-tester.h [cctest] Improve test coverage for calls to embedded builtins 2018-08-02 12:38:46 +00:00
codegen-tester.cc Enable clang's -Wunreachable-code warning. 2017-12-04 13:09:25 +00:00
codegen-tester.h [wasm,test] Pass correct code kind in Wasm tests 2018-10-02 14:21:53 +00:00
function-tester.cc [turbofan] Put some tests under a canonical handle scope. 2018-07-31 18:20:53 +00:00
function-tester.h [turbofan] Put some tests under a canonical handle scope. 2018-07-31 18:20:53 +00:00
graph-builder-tester.h [cleanup] Refactor compiler to use default members. 2018-09-17 12:12:21 +00:00
test-basic-block-profiler.cc [wasm] Share BasicBlockProfiler instance in process 2018-07-26 13:54:57 +00:00
test-branch-combine.cc [cleanup] Mark compiler methods in subclasses with override. 2018-09-17 08:51:47 +00:00
test-code-assembler.cc [cleanup] Move enum Heap::RootListIndex to enum class RootIndex 2018-09-20 11:16:05 +00:00
test-code-generator.cc [ia32,root] Use root register config in tests 2018-10-02 15:53:03 +00:00
test-gap-resolver.cc Add bound checking to RegisterConfiguration accessors function. 2017-08-18 09:24:31 +00:00
test-graph-visualizer.cc Reland "Introduce StdoutStream which prints to Android log or stdout" 2018-06-14 13:29:01 +00:00
test-instruction-scheduler.cc Replace array index masking with the poisoning approach. 2018-04-30 13:22:44 +00:00
test-instruction.cc [turbofan] Change handling of empty basic blocks 2018-06-12 15:10:26 +00:00
test-js-constant-cache.cc [cleanup] Remove unused Isolate parameters 2018-07-18 16:47:22 +00:00
test-js-context-specialization.cc [turbofan] Disable broker in JSContextSpecialization test. 2018-07-31 18:34:35 +00:00
test-js-typed-lowering.cc [turbofan] Remove redundant isolate argument from typers. 2018-09-25 13:00:05 +00:00
test-jump-threading.cc [turbofan] Make {JumpThreading} independent of Isolate. 2018-07-12 12:00:47 +00:00
test-linkage.cc [cleanup] Split off api-inl.h from api.h to make latter self contained 2018-07-23 16:03:49 +00:00
test-loop-analysis.cc Reland "Introduce StdoutStream which prints to Android log or stdout" 2018-06-14 13:29:01 +00:00
test-machine-operator-reducer.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
test-multiple-return.cc [wasm,test] Pass correct code kind in Wasm tests 2018-10-02 14:21:53 +00:00
test-node.cc Use nullptr instead of NULL where possible 2017-10-13 17:21:49 +00:00
test-operator.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
test-representation-change.cc [turbofan] Fix Word32 (Signed32OrMinusZero) conversions that identify zeros. 2018-10-04 09:13:18 +00:00
test-run-bytecode-graph-builder.cc [cleanup] Refactor compiler to use default members. 2018-09-17 12:12:21 +00:00
test-run-calls-to-external-references.cc Reland: [refactoring] Remove the isolate from signatures of ExternalReferences 2018-04-25 09:47:30 +00:00
test-run-deopt.cc [fullcodegen] Remove --stress-fullcodegen flag. 2017-08-10 09:52:49 +00:00
test-run-intrinsics.cc [cleanup] Don't declare inline runtime functions by default 2018-10-05 13:10:56 +00:00
test-run-jsbranches.cc [turbofan] Remove for-in support from the AstGraphBuilder. 2017-02-08 06:41:42 +00:00
test-run-jscalls.cc [iwyu] api.h iwyu 2018-07-20 11:49:02 +00:00
test-run-jsexceptions.cc [fullcodegen] Remove --stress-fullcodegen flag. 2017-08-10 09:52:49 +00:00
test-run-jsobjects.cc [explicit isolates] Remove various GetIsolates 2018-07-17 11:56:37 +00:00
test-run-jsops.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
test-run-load-store.cc [iwyu] Fix some cctest IWYU violations. 2018-06-27 15:25:57 +00:00
test-run-machops.cc [turbofan] Initial support to compute NumberAdd/NumberSubtract in Word64. 2018-09-17 08:32:04 +00:00
test-run-native-calls.cc [ia32,root] Use root register config in tests 2018-10-02 15:53:03 +00:00
test-run-retpoline.cc [turbofan] Put some tests under a canonical handle scope. 2018-07-31 18:20:53 +00:00
test-run-stackcheck.cc [fullcodegen] Remove --stress-fullcodegen flag. 2017-08-10 09:52:49 +00:00
test-run-stubs.cc Reland: [iwyu] Remove sfi-inl.h -> wasm include 2018-07-25 14:54:37 +00:00
test-run-tail-calls.cc [turbofan] Put some tests under a canonical handle scope. 2018-07-31 18:20:53 +00:00
test-run-unwinding-info.cc [turbofan] Replace uninitialized JSCall nodes with SOFT deopt. 2017-06-27 03:57:13 +00:00
test-run-variables.cc [cleanup] Split off api-inl.h from api.h to make latter self contained 2018-07-23 16:03:49 +00:00
value-helper.cc Reland "[test] Avoid unnecessary std::vector allocations" 2017-10-19 08:47:31 +00:00
value-helper.h ppc64, aix: eliminate cctest failures due to gcc bug on Aix 2018-09-27 17:35:41 +00:00