• svenpanne@chromium.org's avatar
    CodeStubs contain their corresponding Isolate* now. (part 1) · dd30db90
    svenpanne@chromium.org authored
    This is a purely mechanical change, adding an Isolate* to the CodeStub
    constructor and a corresponding field plus a getter. A few methods in
    CodeStub and its subclasses can be simplified now, but this is done in
    a separate CL.
    
    The underlying reason apart from simplicity is that deep down in the
    call chain we need to detect if the serializer is active or not. This
    information will be part of the Isolate, not a global variable with
    funky synchronization primitives around it (which is fundamentally
    wrong and the underlying cause for race conditions and a catch-22
    during initialization).
    
    BUG=359977
    LOG=y
    R=mstarzinger@chromium.org
    
    Review URL: https://codereview.chromium.org/246643014
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20919 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    dd30db90
debug-arm.cc 11.3 KB