1. 13 Jun, 2013 3 commits
    • yurys@chromium.org's avatar
      Notify CPU profiler when calling native getters · c4224f09
      yurys@chromium.org authored
      This change modifies code produced by BaseLoadStubCompiler::GenerateLoadCallback so that instead of calling AccessorGetter direcly it calls InvokeAccessorGetter which changes VM state and calls the actual callback. This way CPU profiler knows which external callback is being executed in this case. Indirect call happens only if CpuProfiler::is_profiling() is true.
      
      This is exactly same change as r15116 with a build fix for test-api.cc
      
      BUG=244580
      TBR=danno@chromium.org
      
      Review URL: https://codereview.chromium.org/16858013
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15135 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      c4224f09
    • yurys@chromium.org's avatar
      Revert "Notify CPU profiler when calling native getters" · 24ec0171
      yurys@chromium.org authored
      This reverts commit f323d984a73bab345c4eab5c1907552ccfa7ccaa.
      
      Broke compilation on the bots with an error that doesn't occur locally:
      
        CXX(target) /mnt/data/b/build/slave/v8-linux-debug/build/v8/out/Debug/obj.target/cctest/test/cctest/test-bignum-dtoa.o
      ../test/cctest/test-api.cc: In function ‘void FastReturnValueCallback(const v8::FunctionCallbackInfo<v8::Value>&) [with T = int]’:
      ../test/cctest/test-api.cc:1129: error: insufficient contextual information to determine type
      ../test/cctest/test-api.cc: In function ‘void FastReturnValueCallback(const v8::FunctionCallbackInfo<v8::Value>&) [with T = unsigned int]’:
      ../test/cctest/test-api.cc:1136: error: insufficient contextual information to determine type
      ../test/cctest/test-api.cc: In function ‘void FastReturnValueCallback(const v8::FunctionCallbackInfo<v8::Value>&) [with T = double]’:
      ../test/cctest/test-api.cc:1143: error: insufficient contextual information to determine type
      ../test/cctest/test-api.cc: In function ‘void FastReturnValueCallback(const v8::FunctionCallbackInfo<v8::Value>&) [with T = bool]’:
      ../test/cctest/test-api.cc:1150: error: insufficient contextual information to determine type
      ../test/cctest/test-api.cc: In function ‘void FastReturnValueCallback(const v8::FunctionCallbackInfo<v8::Value>&) [with T = void]’:
      ../test/cctest/test-api.cc:1157: error: insufficient contextual information to determine type
        CXX(target) /mnt/data/b/build/slave/v8-linux-debug/build/v8/out/Debug/obj.target/cctest/test/cctest/test-circular-queue.o
      
      BUG=None
      TBR=svenpanne@chromium.org
      
      Review URL: https://codereview.chromium.org/16838013
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15117 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      24ec0171
    • yurys@chromium.org's avatar
      Notify CPU profiler when calling native getters · 1a3c3cee
      yurys@chromium.org authored
      This change modifies code produced by BaseLoadStubCompiler::GenerateLoadCallback so that instead of calling AccessorGetter direcly it calls InvokeAccessorGetter which changes VM state and calls the actual callback. This way CPU profiler knows which external callback is being executed in this case.
      
      BUG=244580
      R=dcarney@chromium.org, loislo@chromium.org, svenpanne@chromium.org
      
      Review URL: https://codereview.chromium.org/16286016
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15116 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      1a3c3cee
  2. 10 Jun, 2013 1 commit
  3. 25 May, 2013 1 commit
  4. 21 May, 2013 1 commit
  5. 15 May, 2013 1 commit
  6. 19 Apr, 2013 1 commit
  7. 16 Apr, 2013 1 commit
  8. 12 Apr, 2013 2 commits
  9. 02 Apr, 2013 1 commit
  10. 30 Mar, 2013 1 commit
  11. 09 Jan, 2013 1 commit
  12. 07 Jan, 2013 1 commit
  13. 29 Nov, 2012 1 commit
  14. 20 Nov, 2012 1 commit
  15. 27 Aug, 2012 1 commit
  16. 04 Jun, 2012 1 commit
  17. 16 Feb, 2012 1 commit
  18. 16 Jan, 2012 1 commit
  19. 13 Jan, 2012 1 commit
  20. 10 Nov, 2011 1 commit
  21. 18 Oct, 2011 1 commit
  22. 13 Sep, 2011 1 commit
  23. 05 Sep, 2011 1 commit
  24. 29 Aug, 2011 1 commit
  25. 24 Jun, 2011 1 commit
  26. 06 Jun, 2011 1 commit
  27. 26 May, 2011 1 commit
    • sgjesse@chromium.org's avatar
      MIPS: Added the stop() instruction with same behavior as on Arm simulator. · 64c61072
      sgjesse@chromium.org authored
      The already working watchpoint break mechanism has been extended to handle "stop" instructions, with text messages.
      
      Explanation (also in constants-mips.h):
      On MIPS Simulator breakpoints can have different codes:
      - Breaks between 0 and kMaxWatchpointCode are treated as simple watchpoints, the simulator will run through them and print the registers.
      - Breaks between kMaxWatchpointCode and kMaxStopCode are treated as stop() instructions (see Assembler::stop()).
      - Breaks larger than kMaxStopCode are simple breaks, dropping you into the debugger.
      
      The current values are 31 for kMaxWatchpointCode and 127 for kMaxStopCode.
      From the user's point of view this works the same way as the ARM stop instruction except for the break code usage detailed above.
      
      Ported commits: r5723 (3ba78d24)
      
      BUG=
      TEST=
      
      Review URL: http://codereview.chromium.org//7062014
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8069 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      64c61072
  28. 24 May, 2011 1 commit
  29. 23 May, 2011 1 commit
  30. 09 May, 2011 1 commit
  31. 05 May, 2011 1 commit
  32. 28 Mar, 2011 2 commits
  33. 14 Oct, 2010 1 commit
  34. 11 Aug, 2010 1 commit
  35. 17 May, 2010 1 commit
    • mark@chromium.org's avatar
      Allow build-time selection between ia32 and x86_64 in the GYP/Xcode Mac · e9b5d785
      mark@chromium.org authored
      Chromium build.
      
      v8.gyp no longer sets any V8_TARGET_ARCH_* macro on the Mac. Instead, the
      proper V8_TARGET_ARCH_* macro will be set by src/globals.h in the same way as
      the V8_HOST_ARCH_* macro when it detects that no target macro is currently
      defined. The Mac build will attempt to compile all ia32 and x86_64 .cc files.
      #ifdef guards in each of these target-specific source files prevent their
      compilation when the associated target is not selected. For completeness,
      these #ifdef guards are also provided for the arm and mips .cc files.
      
      BUG=706
      TEST=x86_64 Mac GYP/Xcode-based Chromium build (still depends on other changes)
      Review URL: http://codereview.chromium.org/2133003
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4666 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      e9b5d785
  36. 19 Apr, 2010 1 commit