Reviewers: Michael Starzinger, Yang,

Description:
[runtime] Add %ToString and %_ToString and remove the TO_STRING builtin.

This adds a new ToString runtime function and a fast-path ToStringStub
(which is just a simple dispatcher for existing functionality), and also
implements %_ToName using the ToStringStub.

R=mstarzin...@chromium.org, yang...@chromium.org
BUG=v8:4307
LOG=n

Please review this at https://codereview.chromium.org/1319973007/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+544, -25 lines):
  M src/arm/builtins-arm.cc
  M src/arm/code-stubs-arm.cc
  M src/arm/interface-descriptors-arm.cc
  M src/arm64/builtins-arm64.cc
  M src/arm64/code-stubs-arm64.cc
  M src/arm64/interface-descriptors-arm64.cc
  M src/code-factory.h
  M src/code-factory.cc
  M src/code-stubs.h
  M src/compiler/js-generic-lowering.cc
  M src/compiler/linkage.cc
  M src/contexts.h
  M src/full-codegen/arm/full-codegen-arm.cc
  M src/full-codegen/arm64/full-codegen-arm64.cc
  M src/full-codegen/full-codegen.h
  M src/full-codegen/ia32/full-codegen-ia32.cc
  M src/full-codegen/mips/full-codegen-mips.cc
  M src/full-codegen/mips64/full-codegen-mips64.cc
  M src/full-codegen/x64/full-codegen-x64.cc
  M src/ia32/builtins-ia32.cc
  M src/ia32/code-stubs-ia32.cc
  M src/ia32/interface-descriptors-ia32.cc
  M src/interface-descriptors.h
  M src/interface-descriptors.cc
  M src/mips/builtins-mips.cc
  M src/mips/code-stubs-mips.cc
  M src/mips/interface-descriptors-mips.cc
  M src/mips64/builtins-mips64.cc
  M src/mips64/code-stubs-mips64.cc
  M src/mips64/interface-descriptors-mips64.cc
  M src/runtime.js
  M src/runtime/runtime.h
  M src/runtime/runtime-object.cc
  M src/x64/builtins-x64.cc
  M src/x64/code-stubs-x64.cc
  M src/x64/interface-descriptors-x64.cc
  A test/mjsunit/harmony/to-string.js


--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to