• neis's avatar
    Disentangle assembler from isolate. · 94b088ca
    neis authored
    This is a first step towards moving Turbofan code generation off the main thread.
    
    Summary of the changes:
    - AssemblerBase no longer has a pointer to the isolate. Instead, its
      constructor receives the few things that it needs from the isolate (on most
      architectures this is just the serializer_enabled flag).
    - RelocInfo no longer has a pointer to the isolate. Instead, the functions
      that need it take it as an argument.  (There are currently still a few that
      implicitly access the isolate through a HeapObject.)
    - The MacroAssembler now explicitly holds a pointer to the isolate (before, it
      used to get it from the Assembler).
    - The jit_cookie also moved from AssemblerBase to the MacroAssemblers, since
      it's not used at all in the Assemblers.
    - A few architectures implemented parts of the Assembler with the help
      of a Codepatcher that is based on MacroAssembler.  Since the Assembler no
      longer has the isolate, but the MacroAssembler still needs it, this doesn't
      work anymore.  Instead, these Assemblers now use a new PatchingAssembler.
    
    BUG=v8:6048
    
    Review-Url: https://codereview.chromium.org/2732273003
    Cr-Commit-Position: refs/heads/master@{#43890}
    94b088ca
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...