dart-sdk/runtime
Alexander Markov 85d85246ad [vm/kernel/bytecode] Revise access to instance fields in bytecode
Constant pool:

* Field constant pool entry is renamed to StaticField
* FieldOffset constant pool entry is replaced with InstanceField.
  InstanceField occupies 2 slots for field offset and field object.
* ContextOffset constant pool entry is removed.
* TypeArgumentsFieldOffset is renamed to TypeArgumentsField

Bytecodes:

* LoadFieldTOS and StoreFieldTOS require InstanceField entry.
* New bytecodes added: LoadContextParent, StoreContextParent,
  LoadContextVar, StoreContextVar, LoadTypeArgumentsField.

This CL is a preparation for compilation of bytecodes related
to instance field accesses.

Change-Id: I1d6274e94bd7cd764e4fc83d9847daf4f21e5a25
Reviewed-on: https://dart-review.googlesource.com/68843
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Régis Crelier <regis@google.com>
2018-08-08 16:35:25 +00:00
..
bin [gen_snapshot] Remove --print_dependencies and --dependencies_only. 2018-08-08 16:26:56 +00:00
include [VM] Add Dart_InvokeVMServiceMethod() to dart_tools_api.h 2018-07-25 12:06:55 +00:00
lib [vm/precomp] Support @pragma for fields and remove associated entry-point entries. 2018-08-07 16:47:50 +00:00
observatory [observatory] Only run field guards test if it is enabled in the vm. 2018-08-08 00:38:52 +00:00
platform [vm/compiler] Rework how logical expressions are compiled to IL. 2018-08-02 10:51:53 +00:00
tests/vm [vm/precomp] Update status files for Dart 1 AOT. 2018-08-08 12:22:43 +00:00
third_party [gn] Split target arch/os defines from dart_config 2017-10-31 17:33:13 +00:00
tools [vm] Fix bin_to_coff.py so it produces 8-byte wide kKernelServiceDillSize on 64-bit build. 2018-07-25 04:32:43 +00:00
vm [vm/kernel/bytecode] Revise access to instance fields in bytecode 2018-08-08 16:35:25 +00:00
.gitignore
BUILD.gn [build] Move dart2js run for Observatory from python to GN 2018-07-03 22:50:16 +00:00
codereview.settings
configs.gni Check whether variables is set before using GN not_needed 2018-06-23 23:59:59 +00:00
CPPLINT.cfg
PRESUBMIT.py VM: Enforce correctly formatted C++ code 2016-11-30 23:52:52 +01:00
runtime_args.gni Revert "Reland "[VM/SDK]"" 2018-07-23 18:07:29 +00:00