• rmcilroy's avatar
    [Interpreter] Add CallRuntime support to the interpreter. · 75f6ad74
    rmcilroy authored
    Adds support for calling runtime functions from the interpreter. Adds the
    CallRuntime bytecode which takes a Runtime::FunctionId of the function to call
    and the arguments in sequential registers. Adds a InterpreterCEntry builtin
    to enable the interpreter to enter C++ code based on the functionId.
    
    Also renames Builtin::PushArgsAndCall to Builtin::InterpreterPushArgsAndCall
    and groups all the interpreter builtins together.
    
    BUG=v8:4280
    LOG=N
    
    Review URL: https://codereview.chromium.org/1362383002
    
    Cr-Commit-Position: refs/heads/master@{#31089}
    75f6ad74
runtime.h 52.2 KB