• Miran.Karic's avatar
    Add v8_os_page_size flag for cross compilation · a18be72c
    Miran.Karic authored
    When generating snapshot on a machine with a different page size than
    the target machine, we can run into problems as the v8 page area size
    changes. This is because v8 has page guards which depend on os page
    size, so if the target has larger os page, v8 page area is smaller and
    may not fit the contents.
    
    The solution proposed here is adding a flag, v8_os_page_size, that
    would, if used, override local os page size and use the one specified
    during snapshot generation.
    
    BUG=
    
    Review-Url: https://codereview.chromium.org/2488403003
    Cr-Commit-Position: refs/heads/master@{#40997}
    a18be72c
deoptimizer.cc 146 KB