Reviewers: Benedikt Meurer, mvstanton,

Message:
PTAL

Description:
Add a MathFloor stub generated with TurboFan

This stub will be used as the basis of a Math.floor-specific CallIC to
detect and track calls to floor that return -0.

Along the way:
- Create a TurboFanCodeStub super class that the StringLength and
MathRound TF stubs derive from
- Fix the ugly hack that passes the first stub parameter as the "this"
pointer in the the TF-compiled JS function.

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

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

Affected files (+430, -132 lines):
  M src/arm/interface-descriptors-arm.cc
  M src/arm64/interface-descriptors-arm64.cc
  M src/code-stubs.h
  M src/code-stubs.cc
  M src/compiler.h
  M src/compiler.cc
  M src/compiler/access-builder.h
  M src/compiler/access-builder.cc
  M src/compiler/ast-graph-builder.cc
  M src/compiler/js-intrinsic-lowering.h
  M src/compiler/js-intrinsic-lowering.cc
  M src/compiler/linkage.cc
  M src/compiler/typer.cc
  M src/ia32/disasm-ia32.cc
  M src/ia32/interface-descriptors-ia32.cc
  M src/interface-descriptors.h
  M src/mips/interface-descriptors-mips.cc
  M src/mips64/interface-descriptors-mips64.cc
  M src/runtime.js
  M src/runtime/runtime.h
  M src/runtime/runtime-array.cc
  M src/runtime/runtime-collections.cc
  M src/type-feedback-vector.cc
  M src/x64/interface-descriptors-x64.cc
  M test/cctest/compiler/test-run-stubs.cc
  A + test/mjsunit/tf-stubs-floor.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