• 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
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
x87 Loading commit data...
OWNERS Loading commit data...
debug-coverage.cc Loading commit data...
debug-coverage.h Loading commit data...
debug-evaluate.cc Loading commit data...
debug-evaluate.h Loading commit data...
debug-frames.cc Loading commit data...
debug-frames.h Loading commit data...
debug-interface.h Loading commit data...
debug-scopes.cc Loading commit data...
debug-scopes.h Loading commit data...
debug.cc Loading commit data...
debug.h Loading commit data...
debug.js Loading commit data...
interface-types.h Loading commit data...
liveedit.cc Loading commit data...
liveedit.h Loading commit data...
liveedit.js Loading commit data...
mirrors.js Loading commit data...