1. 02 Aug, 2016 2 commits
    • marja's avatar
      Revert of Put Scopes into temporary Zone (patchset #12 id:220001 of... · 51685002
      marja authored
      Revert of Put Scopes into temporary Zone (patchset #12 id:220001 of https://codereview.chromium.org/2193793002/ )
      
      Reason for revert:
      Broke Node.js tests (test-require-dot etc.)
      
      Original issue's description:
      > Put Scopes into temporary Zone
      >
      > When parsing a eagerly-parsed-but-lazily-compiled function, we
      > used to put some of its AST nodes into a discardable Zone. This
      > CL puts the function Scope, its inner Scopes and the related AST
      > nodes (Declarations, VariableProxys) into the temporary Zone
      > too. This reduces peak memory usage and enables future work to
      > keep the temporary Zone around for later compilation.
      >
      > BUG=
      >
      > Committed: https://crrev.com/eaebdd858b466057ccc39894a172c9b66868e8f7
      > Cr-Commit-Position: refs/heads/master@{#38232}
      
      TBR=adamk@chromium.org,titzer@chromium.org
      # Skipping CQ checks because original CL landed less than 1 days ago.
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=
      
      Review-Url: https://codereview.chromium.org/2205013002
      Cr-Commit-Position: refs/heads/master@{#38258}
      51685002
    • marja's avatar
      Put Scopes into temporary Zone · eaebdd85
      marja authored
      When parsing a eagerly-parsed-but-lazily-compiled function, we
      used to put some of its AST nodes into a discardable Zone. This
      CL puts the function Scope, its inner Scopes and the related AST
      nodes (Declarations, VariableProxys) into the temporary Zone
      too. This reduces peak memory usage and enables future work to
      keep the temporary Zone around for later compilation.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2193793002
      Cr-Commit-Position: refs/heads/master@{#38232}
      eaebdd85
  2. 09 Sep, 2008 1 commit
  3. 02 Sep, 2008 1 commit
    • feng.qian.v8's avatar
      Change __ mov(eax, TOS) to · 6287c675
      feng.qian.v8 authored
      __ pop(eax);
      ...
      __ push(eax);
      to enable push/pop eliminations.
      
      __ push(eax) must happen before RecordWrite because RecordWrite may destroy 
      eax value. To be safe, also moved __ push(r0) on ARM to above RecordWrite.
      
      This only affects the case where a context variable is used in a inner scope.
      
      Create a tests for it. It fails if __ push(eax) is after RecordWrite.
      
      
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@111 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      6287c675
  4. 22 Aug, 2008 1 commit
    • christian.plesner.hansen's avatar
      Included mjsunit JavaScript test suite and C++ unit tests. · c42f5829
      christian.plesner.hansen authored
      In the shell sample don't print the result of executing a script, only
      evaluating expressions.
      
      Fixed issue when building samples on Windows using a shared V8
      library.  Added visibility option on Linux build which makes the
      generated library 18% smaller.
      
      Changed build system to accept multiple build modes in one build and
      generate seperate objects, libraries and executables for each mode.
      
      Removed deferred negation optimization (a * -b => -(a * b)) since this
      visibly changes operand conversion order.
      
      Improved parsing performance by introducing stack guard in preparsing.
      Without a stack guard preparsing always bails out with stack overflow.
      
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      c42f5829
  5. 03 Jul, 2008 1 commit