Reviewers: titzer,

Description:
Fix %NeverOptimizeFunction runtime call.

The current usage of this runtime function is broken as it does not
prevent inlining of the affected function but rather bails out from the
whole unit of compilation after trying to inline affected functions.
This simplifies said runtime function to avoid accidental misuse.

[email protected]
TEST=mjsunit/never-optimize

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

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/hydrogen.cc
  M src/runtime.h
  M src/runtime.cc
  M test/mjsunit/compiler/inline-arguments.js
  M test/mjsunit/elements-kind.js
  M test/mjsunit/elide-double-hole-check-9.js
  M test/mjsunit/generated-transition-stub.js
  M test/mjsunit/never-optimize.js
  M test/mjsunit/opt-elements-kind.js
  M test/mjsunit/osr-elements-kind.js
  M test/mjsunit/regress/regress-1713b.js
  M test/mjsunit/regress/regress-97116b.js
  M test/mjsunit/regress/regress-crbug-173907b.js
  M test/mjsunit/regress/regress-deopt-gcb.js
  M test/mjsunit/regress/regress-mul-canoverflowb.js


--
--
v8-dev mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to