• Georg Neis's avatar
    [modules] Fix bug in module initialization. · 0cd2ea7c
    Georg Neis authored
    The initialization code of all modules must have been run
    before running any module's main code. This should have been
    fixed quite a while ago as part of another CL but somehow
    wasn't.
    
    In the process of fixing it now, I'm also moving the initialization
    phase out of Evaluate into Instantiatiate. This corresponds more
    closely to the specification and avoids confusion.
    
    Bug: v8:1569
    Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
    Change-Id: I3ea5d6be0f5d371e6a4c641778c51762f1867dc8
    Reviewed-on: https://chromium-review.googlesource.com/620653Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
    Commit-Queue: Georg Neis <neis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#47537}
    0cd2ea7c
modules-skip-init4b.js 263 Bytes