• Jakob Gruber's avatar
    Revert "[torque] typed context slot access" · a55a2447
    Jakob Gruber authored
    This reverts commit 408e7240.
    
    Reason for revert: debug builds fail
    
    is_component_build = true
    is_debug = true
    use_goma = true
    v8_enable_backtrace = true
    v8_enable_debugging_features = true
    v8_enable_fast_mksnapshot = true
    v8_enable_slow_dchecks = true
    v8_enable_snapshot_code_comments = true
    v8_enable_verify_csa = true
    v8_optimized_debug = false
    v8_use_multi_snapshots = false
    
    # Fatal error in ../../src/compiler/backend/instruction-selector.cc, line 3088
    # Expected Turbofan static assert to hold, but got non-true input:
      static_assert(nativeContext == LoadNativeContext(context)) at src/builtins/promise-resolve.tq:45:5
    
    
    Original change's description:
    > [torque] typed context slot access
    > 
    > This introduces a new type Slot<ContextType, SlotType> that is used
    > for enum values used to access context slots.
    > Together with new types for the various custom contexts used in
    > Torque, this results in fairly type-safe access to context slots,
    > including the NativeContext's slots.
    > 
    > Drive-by changes:
    > - Introduce a new header file to specify headers needed for
    >   generated CSA headers, to reduce the amount of includes specified
    >   in implementation-visitor.cc
    > - Port AllocateSyntheticFunctionContext to Torque.
    > 
    > Bug: v8:7793
    > Change-Id: I509a128916ca408eeeb636a9bcc376b2cc868532
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2335064
    > Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
    > Reviewed-by: Seth Brenith <seth.brenith@microsoft.com>
    > Cr-Commit-Position: refs/heads/master@{#69249}
    
    TBR=tebbi@chromium.org,seth.brenith@microsoft.com
    
    Change-Id: I90c014022a808449aca4a9b9b3c3b8e036beb28e
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: v8:7793
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2340903Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#69256}
    a55a2447
Name
Last commit
Last update
..
api Loading commit data...
asmjs Loading commit data...
ast Loading commit data...
base Loading commit data...
builtins Loading commit data...
codegen Loading commit data...
common Loading commit data...
compiler Loading commit data...
compiler-dispatcher Loading commit data...
d8 Loading commit data...
date Loading commit data...
debug Loading commit data...
deoptimizer Loading commit data...
diagnostics Loading commit data...
execution Loading commit data...
extensions Loading commit data...
flags Loading commit data...
handles Loading commit data...
heap Loading commit data...
ic Loading commit data...
init Loading commit data...
inspector Loading commit data...
interpreter Loading commit data...
json Loading commit data...
libplatform Loading commit data...
libsampler Loading commit data...
logging Loading commit data...
numbers Loading commit data...
objects Loading commit data...
parsing Loading commit data...
profiler Loading commit data...
protobuf Loading commit data...
regexp Loading commit data...
roots Loading commit data...
runtime Loading commit data...
sanitizer Loading commit data...
snapshot Loading commit data...
strings Loading commit data...
tasks Loading commit data...
third_party Loading commit data...
torque Loading commit data...
tracing Loading commit data...
trap-handler Loading commit data...
utils Loading commit data...
wasm Loading commit data...
zone Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...