Reviewers: titzer, Benedikt Meurer,

Message:
Created Revert of Remove obsolete JSFunction::IsOptimizable predicate.

Description:
Revert of Remove obsolete JSFunction::IsOptimizable predicate. (patchset #1 id:1
of https://codereview.chromium.org/1150683002/)

Reason for revert:
Causes assertions to fire when serializing optimized code.

Original issue's description:
Remove obsolete JSFunction::IsOptimizable predicate.

This just delegates to SharedFunctionInfo::optimization_disabled and
was primarily used for assertions. Removing it due to misleading name
because already optimized functions reported being "non-optimizable".

[email protected]

Committed: https://crrev.com/181d7b85977eb752b19e1de902093783e31330ef
Cr-Commit-Position: refs/heads/master@{#28551}

[email protected],[email protected]
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-compiler-15

Affected files (+22, -8 lines):
  M src/objects.h
  M src/objects.cc
  M src/objects-inl.h
  M src/runtime-profiler.cc
  M src/runtime/runtime-test.cc
  M test/cctest/test-compiler.cc


--
--
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/d/optout.

Reply via email to