|  | [runtime] Replace %to_string_fun with %_ToString.
Introduce a new macro TO_STRING that maps to %_ToString and use that
instead of calling into any of the ToString/NonStringToString JavaScript
builtins. Also remove the TO_STRING_INLINE macro, which is basically
obsolete with %_ToString. We still have a few uses of ToString left (via
the utils export mechanism), where we need to investigate whether we
will tank badly if we replace them with TO_STRING as well.
CQ_INCLUDE_TRYBOTS=tryserver.v8:v8_linux_layout_dbg,v8_linux_nosnap_dbg
R=yangguo@chromium.org 
BUG=v8:4307 
LOG=n
Committed: https://crrev.com/7a7b692b30d50daacc1d054281f723d6c2255ccf 
Cr-Commit-Position: refs/heads/master@{#30895}
  
      Total comments: 2
      
     
  
   
    
  
  
    
      |  | Unified diffs | Side-by-side diffs | Delta from patch set | Stats (+141 lines, -176 lines) | Patch |  
        |  | M | src/array.js | View | 1 | 2 chunks | +3 lines, -4 lines | 0 comments | Download |  
        |  | M | src/contexts.h | View | 1 | 1 chunk | +1 line, -3 lines | 0 comments | Download |  
        |  | M | src/date.js | View | 1 | 2 chunks | +1 line, -3 lines | 0 comments | Download |  
        |  | M | src/harmony-regexp.js | View | 1 | 2 chunks | +1 line, -6 lines | 0 comments | Download |  
        |  | M | src/i18n.js | View | 1 | 1 chunk | +2 lines, -2 lines | 0 comments | Download |  
        |  | M | src/json.js | View | 1 | 7 chunks | +5 lines, -7 lines | 0 comments | Download |  
        |  | M | src/macros.py | View | 1 | 1 chunk | +1 line, -1 line | 0 comments | Download |  
        |  | M | src/messages.js | View | 1 | 3 chunks | +2 lines, -3 lines | 0 comments | Download |  
        |  | M | src/parser.cc | View | 1 | 1 chunk | +2 lines, -2 lines | 0 comments | Download |  
        |  | M | src/proxy.js | View | 1 | 2 chunks | +2 lines, -2 lines | 0 comments | Download |  
        |  | M | src/regexp.js | View | 1 | 4 chunks | +5 lines, -5 lines | 0 comments | Download |  
        |  | M | src/runtime.js | View | 1 | 7 chunks | +6 lines, -22 lines | 0 comments | Download |  
        |  | M | src/runtime/runtime-date.cc | View | 1 | 2 chunks | +6 lines, -2 lines | 0 comments | Download |  
        |  | M | src/runtime/runtime-json.cc | View | 1 | 2 chunks | +6 lines, -3 lines | 0 comments | Download |  
        |  | M | src/runtime/runtime-uri.cc | View | 1 | 2 chunks | +14 lines, -9 lines | 0 comments | Download |  
        |  | M | src/string.js | View | 1 | 34 chunks | +57 lines, -60 lines | 0 comments | Download |  
        |  | M | src/string-iterator.js | View | 1 | 1 chunk | +1 line, -1 line | 0 comments | Download |  
        |  | M | src/symbol.js | View | 1 | 1 chunk | +1 line, -1 line | 0 comments | Download |  
        |  | M | src/uri.js | View | 1 | 7 chunks | +8 lines, -19 lines | 0 comments | Download |  
        |  | M | src/v8natives.js | View | 1 | 8 chunks | +9 lines, -11 lines | 0 comments | Download |  
        |  | M | test/cctest/compiler/test-run-jscalls.cc | View | 1 | 1 chunk | +5 lines, -8 lines | 0 comments | Download |  
        |  | D | test/mjsunit/compiler/jsnatives.js | View | 1 | 1 chunk | +1 line, -1 line | 0 comments | Download |  
        |  | M | test/mjsunit/messages.js | View | 1 | 1 chunk | +2 lines, -1 line | 0 comments | Download |  
    Total messages: 17 (7 generated)
     |