dart-sdk/runtime
Alexander Markov c3e0d770dd [vm] Introduce FUNCTION_REG constant
This refactoring introduces FUNCTION_REG constant for a register
containing target function object when calling Dart functions in JIT
mode. This register is similar to CODE_REG and ARGS_DESC_REG
registers which are also a part of Dart calling conventions.

Hardcoded registers are replaced with new constant where
appropriate. Also, ARGS_DESC_REG and IC_DATA_REG are used instead of
hardcoded registers in more places.

TEST=ci (pure refactoring)

Change-Id: I9e71022d7bca8d4e555b9e4f22558f388073495f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/243681
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2022-05-04 22:59:24 +00:00
..
bin [format] Remove multiline comment that gcc errors on. 2022-04-21 22:30:59 +00:00
docs [vm] Expose whether extension stream has listeners, guard postEvent 2022-04-26 07:53:43 +00:00
include [dart:io] Publish implementations of the VM file callbacks. 2022-04-19 23:27:17 +00:00
lib [vm] New async/await implementation in the VM, part 2 - vm 2022-04-29 01:03:50 +00:00
observatory [vm] Expose whether extension stream has listeners, guard postEvent 2022-04-26 07:53:43 +00:00
observatory_2 [vm] Expose whether extension stream has listeners, guard postEvent 2022-04-26 07:53:43 +00:00
platform Revert "[build] Fix Android build for ARM64 Mac." 2022-04-20 23:13:29 +00:00
tests [gardening] Remove standalone{,_2}/io/raw_datagram_socket_test from iso-stress builder 2022-05-04 14:29:34 +00:00
third_party
tools move runtime/tools/wiki/xref_extractor to package:lints 2022-04-19 15:39:57 +00:00
vm [vm] Introduce FUNCTION_REG constant 2022-05-04 22:59:24 +00:00
.clang-tidy
.gitignore
BUILD.gn
codereview.settings
configs.gni
CPPLINT.cfg
OWNERS
PRESUBMIT.py
runtime_args.gni