1. 03 Mar, 2011 1 commit
    • lrn@chromium.org's avatar
      Stop using plain Arrays internally in built-in functions. · 4707d7ac
      lrn@chromium.org authored
      In built-in code we use arrays for internal computations.
      This makes it possible to affect the built-in code by putting getters
      or setters on the Array prototype chain.
      This adds a new internal Array constructor that creates Arrays with
      a very simplistic prototype chain that doesn't include any publicly
      visible objects. These Arrays shoudl ofcourse never leak outside the
      builtins, since that would expose the prototype object.
      The prototype object contains only the array functions that we use:
      push, pop and join (and not even a toString, so it doesn't stringify
      well).
      
      Also change uses of .call to %_CallFunction.
      
      BUG=1206
      
      Review URL: http://codereview.chromium.org/6602081
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7040 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      4707d7ac
  2. 28 Jan, 2011 1 commit
  3. 17 Dec, 2010 1 commit
  4. 13 Dec, 2010 1 commit
  5. 11 Nov, 2010 1 commit
  6. 03 Nov, 2010 1 commit
  7. 02 Nov, 2010 1 commit
  8. 15 Oct, 2010 1 commit
  9. 14 Oct, 2010 2 commits
  10. 22 Sep, 2010 1 commit
  11. 20 Aug, 2010 1 commit
  12. 06 Aug, 2010 1 commit
  13. 29 Jun, 2010 1 commit
  14. 25 Jun, 2010 2 commits
  15. 04 Jun, 2010 3 commits
  16. 21 Apr, 2010 1 commit
  17. 13 Apr, 2010 1 commit
  18. 09 Apr, 2010 1 commit
  19. 08 Apr, 2010 1 commit
  20. 30 Mar, 2010 1 commit
  21. 26 Mar, 2010 1 commit
  22. 25 Mar, 2010 1 commit
  23. 23 Mar, 2010 1 commit
  24. 17 Mar, 2010 1 commit
  25. 10 Mar, 2010 1 commit
  26. 08 Mar, 2010 1 commit
  27. 26 Feb, 2010 1 commit
  28. 06 Jan, 2010 1 commit
    • sgjesse@chromium.org's avatar
      Direct call to native RegExp code from JavaScript. · 429f3cf9
      sgjesse@chromium.org authored
      Calls to RegExp no longer have to be via a call to the runtime system. A new stub have been added which can handle this call in generated code. The stub checks all the parameters and creates RegExp entry frame in the same way as it is created by the runtime system. Bailout to the runtime system is done whenever an uncommon situation is encountered or when the static data used is not initialized. After running the native RegExp code the last match info is updated like in the runtime system.
      
      Currently only ASCII strings are handled.
      
      Added another argument to the RegExp entry frame. It indicated whether the call is direct from JavaScript code or through the runtime system. This information is used when RegExp execution is interrupted. If an interruption happens when RegExp code is called directly a retry is issued causing the interruption to be handled via the runtime system. The reason for this is that the direct call to RegExp code does not support garbage collection.
      Review URL: http://codereview.chromium.org/521028
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3542 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      429f3cf9
  29. 04 Jan, 2010 1 commit
  30. 29 Jun, 2009 1 commit
  31. 19 Mar, 2009 1 commit
  32. 17 Mar, 2009 1 commit
  33. 13 Mar, 2009 2 commits
  34. 11 Mar, 2009 1 commit
  35. 10 Mar, 2009 1 commit