1. 07 Jan, 2011 15 commits
  2. 06 Jan, 2011 20 commits
  3. 05 Jan, 2011 5 commits
    • whesse@chromium.org's avatar
    • sgjesse@chromium.org's avatar
      Fix bug in instanceof stub · 9bc3a16a
      sgjesse@chromium.org authored
      If the instanceof stub was requested to deliver true/false objects as the result instead of 0/1 then 0/1 was actually returned if the builtin INSTANCE_OF ended up being called. This is now fixed.
      
      BUG=v8:1020
      TEST=test/mjsunit/regress/regress-1020.js
      Review URL: http://codereview.chromium.org/6014013
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6185 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      9bc3a16a
    • sgjesse@chromium.org's avatar
      Revert r6180 as it caused test failures · 3c2c1d21
      sgjesse@chromium.org authored
      TBR=ricow@chromium.org
      Review URL: http://codereview.chromium.org/6080009
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6183 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      3c2c1d21
    • sandholm@chromium.org's avatar
      Avoid double checking for IS_NUMBER by calling NonNumToNum instead of ToNumber · e90249bd
      sandholm@chromium.org authored
      when the argument is known not to be a number.  
      Review URL: http://codereview.chromium.org/6061008
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6181 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      e90249bd
    • sgjesse@chromium.org's avatar
      Misc debugger enhancements and bug fixes. · 8669f630
      sgjesse@chromium.org authored
      1. Added gdb style debugger commands (and their shortcuts) for d8.
      These include:
      - s[tep] : step into the current statement.
      - s[tep]i[n]: step into the current statement with the minimum step.
      - n[ext] : step to the next statement.
      - fin[ish] : step out of the current function.
      - cond : setting conditions on breakpoints.
      - d[elete] : deletes breakpoints.
      - en[able]|dis[able]: enables/disables breakpoints including
      exception breakpoints.
      - ignore : ignores a breakpoint for a specified period.
      - inf[o] ar[gs] : info on arguments of the current function.
      - inf[o] lo[cals] : info on local vars of the current function.
      - inf[o] br[eakpoints] : info on breakpoints.
      - l[ist] : similar to source, but allows the user to continually
      dump subsequent lines of source code either in the
      forward or backward direction.
      - quit / exit / disconnect : terminates the remote debugger
      session.
      
      NOTE: Active breakpoints will automatically be disabled when
      the remote debugger detaches. This allows v8 to continue to
      run without worrying about a loss of a debugger session.
      
      2. Added support for breaking the debugger by simply typing ENTER.
      The break command is now optional.
      
      3. Once the debugger is broken, the user can now just type ENTER
      to repeat the last command. This is useful to functionality that
      needs to be invoked repeatedly e.g. step, list.
      
      4. Added more verbose descriptions in d8's help.
      
      5. Fixed a line and column number offset bug in the listing of breakpoint
      line and column numbers.
      
      6. Added a gc command to allow GCs to be requested from the debugger
      interface. The plumbing for requesting different types of GCs is
      there, but the underlying implementation currently only triggers a
      full mark-compact GC. The command also returns the before and after
      sizes of the heap.
      
      7. Added trace json, and flags commands that are not published in help.
      trace json is used for tracing the debugger packets send from and
      received by d8. flags is for setting v8 flags. These are useful for
      people debugging v8 itself, but not necessarily users of v8.
      
      8. Added the ability to enable and disable break on all / uncaught
      exceptions in to d8.
      
      9. Added a fix to prevent the Debugger Agent from being re-instantiated
      if one already exists.
      
      10. Added the ability to filter results of the script command by matching
      text or numbers on the results.
      
      11. Added v8 flags to enable/disable the sending of debugger BeforeCompile,
      AfterCompile, and ScriptCollected events.
      
      12. Fixed some undefined value bugs that resulted in v8 or the debugger
      failing.
      
      13. Added a few minor WEBOS__ customizations (analogous to ANDROID
      customizations).
      
      Patch by Mark Lam from Hewlett-Packard Development Company, LP
      
      Review URL: http://codereview.chromium.org/5980006
      
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6180 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      8669f630