1. 02 Aug, 2013 1 commit
    • loislo@chromium.org's avatar
      Extract hardcoded error strings into a single place and replace them with enum. · d2c443b7
      loislo@chromium.org authored
      I'd like to propagate bailout reason to cpu profiler.
      So I need to save it into heap object SharedFunctionInfo.
      But:
      1) all bailout reason strings spread across all the sources.
      2) they are native strings and if I convert them into String then I may have a performance issue.
      3) one byte is enough for 184 bailout reasons. Otherwise we need 8 bytes for the pointer.
      
      Also I think it would be nice to have error strings collected in one place.
      In that case we will get additional benefits:
      
      It allows us to keep this set of messages under control.
      It gives us a chance to internationalize them.
      It slightly reduces the binary footprint.
      
      From the other hand the developers have to add new strings into that enum.
      
      BUG=
      R=jkummerow@chromium.org
      
      Review URL: https://codereview.chromium.org/20843012
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16024 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      d2c443b7
  2. 19 Jul, 2013 1 commit
  3. 17 Jul, 2013 1 commit
  4. 10 Jul, 2013 1 commit
  5. 05 Jul, 2013 1 commit
  6. 28 Jun, 2013 1 commit
  7. 23 May, 2013 1 commit
  8. 17 May, 2013 1 commit
  9. 07 Apr, 2013 1 commit
  10. 25 Mar, 2013 1 commit
  11. 21 Mar, 2013 1 commit
  12. 05 Mar, 2013 1 commit
  13. 28 Feb, 2013 1 commit
  14. 20 Feb, 2013 1 commit
  15. 04 Feb, 2013 1 commit
  16. 17 Jan, 2013 1 commit
  17. 08 Jan, 2013 1 commit
  18. 28 Dec, 2012 1 commit
  19. 18 Dec, 2012 1 commit
  20. 10 Dec, 2012 1 commit
  21. 05 Dec, 2012 2 commits
  22. 03 Dec, 2012 3 commits
  23. 30 Nov, 2012 3 commits
  24. 29 Nov, 2012 1 commit
  25. 26 Nov, 2012 1 commit
  26. 15 Nov, 2012 1 commit
  27. 08 Nov, 2012 1 commit
  28. 25 Jul, 2012 1 commit
  29. 10 Jul, 2012 1 commit
  30. 23 May, 2012 1 commit
  31. 12 Mar, 2012 1 commit
  32. 05 Mar, 2012 1 commit
  33. 02 Mar, 2012 2 commits
  34. 10 Feb, 2012 1 commit