• 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
..
c-signature.h Loading commit data...
call-tester.h Loading commit data...
code-assembler-tester.h Loading commit data...
codegen-tester.cc Loading commit data...
codegen-tester.h Loading commit data...
function-tester.cc Loading commit data...
function-tester.h Loading commit data...
graph-builder-tester.h Loading commit data...
test-basic-block-profiler.cc Loading commit data...
test-branch-combine.cc Loading commit data...
test-code-assembler.cc Loading commit data...
test-gap-resolver.cc Loading commit data...
test-graph-visualizer.cc Loading commit data...
test-instruction.cc Loading commit data...
test-js-constant-cache.cc Loading commit data...
test-js-context-specialization.cc Loading commit data...
test-js-typed-lowering.cc Loading commit data...
test-jump-threading.cc Loading commit data...
test-linkage.cc Loading commit data...
test-loop-analysis.cc Loading commit data...
test-loop-assignment-analysis.cc Loading commit data...
test-machine-operator-reducer.cc Loading commit data...
test-multiple-return.cc Loading commit data...
test-node.cc Loading commit data...
test-operator.cc Loading commit data...
test-representation-change.cc Loading commit data...
test-run-bytecode-graph-builder.cc Loading commit data...
test-run-calls-to-external-references.cc Loading commit data...
test-run-deopt.cc Loading commit data...
test-run-intrinsics.cc Loading commit data...
test-run-jsbranches.cc Loading commit data...
test-run-jscalls.cc Loading commit data...
test-run-jsexceptions.cc Loading commit data...
test-run-jsobjects.cc Loading commit data...
test-run-jsops.cc Loading commit data...
test-run-load-store.cc Loading commit data...
test-run-machops.cc Loading commit data...
test-run-native-calls.cc Loading commit data...
test-run-stackcheck.cc Loading commit data...
test-run-stubs.cc Loading commit data...
test-run-unwinding-info.cc Loading commit data...
test-run-variables.cc Loading commit data...
test-run-wasm-machops.cc Loading commit data...
value-helper.h Loading commit data...