• danno's avatar
    Revert of Reland: Remove register index/code indirection (patchset #20... · 00e07b00
    danno authored
    Revert of Reland: Remove register index/code indirection (patchset #20 id:380001 of https://codereview.chromium.org/1287383003/ )
    
    Reason for revert:
    Failures on MIPS
    
    Original issue's description:
    > Remove register index/code indirection
    >
    > Previous to this patch, both the lithium and TurboFan register
    > allocators tracked allocated registers by "indices", rather than
    > the register codes used elsewhere in the runtime. This patch
    > ensures that codes are used everywhere, and in the process cleans
    > up a bunch of redundant code and adds more structure to how the
    > set of allocatable registers is defined.
    >
    > Some highlights of changes:
    >
    > * TurboFan's RegisterConfiguration class moved to V8's top level
    >   so that it can be shared with Crankshaft.
    > * Various "ToAllocationIndex" and related methods removed.
    > * Code that can be easily shared between Register classes on
    >   different platforms is now shared.
    > * The list of allocatable registers on each platform is declared
    >   as a list rather than implicitly via the register index <->
    >   code mapping.
    >
    > Committed: https://crrev.com/80bc6f6e11f79524e3f1ad05579583adfd5f18b2
    > Cr-Commit-Position: refs/heads/master@{#30913}
    >
    > Committed: https://crrev.com/7b7a8205d9a00c678fb7a6e032a55fecbc1509cf
    > Cr-Commit-Position: refs/heads/master@{#31075}
    
    TBR=akos.palfi@imgtec.com,bmeurer@chromium.org,jarin@chromium.org,paul.lind@imgtec.com,titzer@chromium.org
    NOPRESUBMIT=true
    NOTREECHECKS=true
    NOTRY=true
    
    Review URL: https://codereview.chromium.org/1380863004
    
    Cr-Commit-Position: refs/heads/master@{#31083}
    00e07b00
Name
Last commit
Last update
..
c-signature.h Loading commit data...
call-tester.h Loading commit data...
codegen-tester.cc Loading commit data...
codegen-tester.h 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-changes-lowering.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-node.cc Loading commit data...
test-operator.cc Loading commit data...
test-osr.cc Loading commit data...
test-pipeline.cc Loading commit data...
test-representation-change.cc Loading commit data...
test-run-bytecode-graph-builder.cc Loading commit data...
test-run-deopt.cc Loading commit data...
test-run-inlining.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-machops.cc Loading commit data...
test-run-native-calls.cc Loading commit data...
test-run-properties.cc Loading commit data...
test-run-stackcheck.cc Loading commit data...
test-run-stubs.cc Loading commit data...
test-run-variables.cc Loading commit data...
test-simplified-lowering.cc Loading commit data...
value-helper.h Loading commit data...