Comments addressed, landing
https://codereview.chromium.org/696783005/diff/40001/src/code-stubs.h
File src/code-stubs.h (right):
https://codereview.chromium.org/696783005/diff/40001/src/code-stubs.h#newcode2041
src/code-stubs.h:2041: return lookup_result->context_index >= 0 &&
On 2014/11/11 09:49:51, Igor Sheludko wrote:
Suggestion: there is a BitField::is_valid() method which could be
convenient to
use here.
Done.
https://codereview.chromium.org/696783005/diff/40001/src/hydrogen.cc
File src/hydrogen.cc (right):
https://codereview.chromium.org/696783005/diff/40001/src/hydrogen.cc#newcode5380
src/hydrogen.cc:5380: Handle<GlobalContextTable> global_contexts(
On 2014/11/11 09:49:51, Igor Sheludko wrote:
It looks like this piece of code should be inside if
(FLAG_harmony_scoping...)
block.
Done for consistency, even though it does not really matter. If flag is
off, global context table is empty
https://codereview.chromium.org/696783005/diff/40001/test/cctest/test-decls.cc
File test/cctest/test-decls.cc (right):
https://codereview.chromium.org/696783005/diff/40001/test/cctest/test-decls.cc#newcode892
test/cctest/test-decls.cc:892:
context.Check("%OptimizeFunctionOnNextCall(g); g()", EXPECT_RESULT,
On 2014/11/11 09:49:51, Igor Sheludko wrote:
What about also trying to optimize f() and g() before the "let x"
script to
ensure that the optimized code does not stuck with the wrong x? Maybe
as another
test.
Done.
https://codereview.chromium.org/696783005/
--
--
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.