• Ross McIlroy's avatar
    Revert "[Compiler] Remove CompileDebugCode and EnsureBytecode and replace with Compile" · 0f40415b
    Ross McIlroy authored
    This reverts commit 21da12a9.
    
    Reason for revert: Failing on arm64 simulator
    
    Original change's description:
    > [Compiler] Remove CompileDebugCode and EnsureBytecode and replace with Compile
    > 
    > Removes the Compiler::CompileDebugCode and Compiler::EnsureBytecode functions
    > and replaces them with a Compiler::Compile(Handle<SharedFunctionInfo> shared)
    > function. The code in compiler.cc is refactored to use this function to compile
    > the SharedFunctionInfo when compiling a JSFunction.
    > 
    > Also does some other cleanup:
    >  - Removes CompileUnoptimizedFunction and inlines into new Compiler function
    >  - Moves code to create top level SharedFunctionInfo into CompilerTopLevel and
    >    out of FinalizeUnoptimizedCompile.
    > 
    > BUG=v8:6409
    > 
    > Change-Id: Ic54afcd8eb005c17f3ae6b2355060846e3091ca3
    > Reviewed-on: https://chromium-review.googlesource.com/613760
    > Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
    > Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
    > Reviewed-by: Leszek Swirski <leszeks@chromium.org>
    > Reviewed-by: Yang Guo <yangguo@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#47394}
    
    TBR=rmcilroy@chromium.org,yangguo@chromium.org,jarin@chromium.org,leszeks@chromium.org
    
    Change-Id: I4ba63e82417a185f1528ff2633eb6c8872fbbfe5
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: v8:6409
    Reviewed-on: https://chromium-review.googlesource.com/618687Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#47397}
    0f40415b
debug-evaluate-modify-catch-block-scope.js 889 Bytes