1. 16 Feb, 2011 1 commit
    • antonm@chromium.org's avatar
      Properly process try/finally blocks. · 6b4ff18b
      antonm@chromium.org authored
      In some circumstances, try/finally block can actually catch the exception:
      
      function f() {
        try {
          throw 42;
        } finally {
          return 0;
        }
      }
      
      Therefore when propagating exception to v8::TryCatch, we must be sure
      there is no try/finally blocks as well.
      
      When bulding the messages we should be more conservative and expect that
      any v8::TryCatch with no JS try/catch in between can potentionally
      be the right exception handler.
      
      Plus various minor refactorings.
      
      BUG=1147
      TEST=cctest/test-api/TryCatchAndFinallyHidingException, cctest/test-api/TryCatchAndFinally
      
      Review URL: http://codereview.chromium.org/6526016
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6809 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      6b4ff18b
  2. 14 Dec, 2010 1 commit
  3. 08 Dec, 2010 1 commit
  4. 07 Dec, 2010 3 commits
  5. 24 Nov, 2010 1 commit
  6. 14 May, 2010 1 commit
  7. 08 May, 2010 1 commit
  8. 09 Apr, 2010 1 commit
  9. 10 Feb, 2010 1 commit
  10. 20 Jan, 2010 1 commit
  11. 19 Jan, 2010 2 commits
  12. 18 Jan, 2010 1 commit
  13. 17 Apr, 2009 1 commit
  14. 14 Apr, 2009 1 commit
  15. 30 Mar, 2009 1 commit
  16. 27 Mar, 2009 2 commits
  17. 18 Mar, 2009 1 commit
  18. 16 Feb, 2009 1 commit
  19. 05 Feb, 2009 1 commit
  20. 06 Nov, 2008 1 commit
  21. 25 Sep, 2008 1 commit
  22. 11 Sep, 2008 1 commit
  23. 10 Sep, 2008 1 commit
  24. 09 Sep, 2008 3 commits
  25. 08 Sep, 2008 2 commits
  26. 29 Aug, 2008 1 commit
  27. 27 Aug, 2008 1 commit
  28. 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
  29. 14 Aug, 2008 1 commit
  30. 30 Jul, 2008 1 commit
    • kasper.lund's avatar
      Changed all text files to have native svn:eol-style. · 7276f14c
      kasper.lund authored
      Added a few samples and support for building them. The samples include a simple shell that can be used to benchmark and test V8.
      
      Changed V8::GetVersion to return the version as a string.
      
      Added source for lazily loaded scripts to snapshots and made serialization non-destructive.
      
      Improved ARM support by fixing the write barrier code to use aligned loads and stores and by removing premature locals optimization that relied on broken support for callee-saved registers (removed).
      
      Refactored the code for marking live objects during garbage collection and the code for allocating objects in paged spaces. Introduced an abstraction for the map word of a heap-allocated object and changed the memory allocator to allocate executable memory only for spaces that may contain code objects.
      
      Moved StringBuilder to utils.h and ScopedLock to platform.h, where they can be used by debugging and logging modules. Added thread-safe message queues for dealing with debugger events.
      
      Fixed the source code reported by toString for certain builtin empty functions and made sure that the prototype property of a function is enumerable.
      
      Improved performance of converting values to condition flags in generated code.
      
      Merged disassembler-{arch} files.
      
      
      git-svn-id: http://v8.googlecode.com/svn/trunk@8 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      7276f14c