https://codereview.chromium.org/582703002/diff/1/src/compiler.cc
File src/compiler.cc (right):
https://codereview.chromium.org/582703002/diff/1/src/compiler.cc#newcode401
src/compiler.cc:401: info()->function()->dont_optimize_reason() !=
kTryCatchStatement &&
Please move this blacklist together with the TODO's into
Pipeline::GenerateCode, so that both call-sites have the same set of
blacklist items. The only thing remaining in this predicate should be
the FLAG_turbo_filter check.
https://codereview.chromium.org/582703002/diff/1/src/compiler.cc#newcode747
src/compiler.cc:747: if (!Parser::Parse(&info)) return
MaybeHandle<Code>();
I don't particularly like this duplication, in fact I hate it. But since
this file is a mess, any suggestion at making this cleaner would
probably involve burning this file to the ground first. So I'll live
with this duplication for now I guess.
https://codereview.chromium.org/582703002/diff/1/src/scopes.cc
File src/scopes.cc (right):
https://codereview.chromium.org/582703002/diff/1/src/scopes.cc#newcode164
src/scopes.cc:164: asm_function_ = outer_scope != NULL &&
outer_scope->asm_module_;
This only applies of the scope_type is FUNCTION_SCOPE. Wouldn't false as
a default value suffice here anyways?
https://codereview.chromium.org/582703002/
--
--
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.