I like this better.

https://codereview.chromium.org/968263002/diff/220001/src/scopes.cc
File src/scopes.cc (right):

https://codereview.chromium.org/968263002/diff/220001/src/scopes.cc#newcode1455
src/scopes.cc:1455: if (!IsConciseMethod(function_kind_) &&
!IsConstructor(function_kind_)) {
This should include IsAccessorFunction too.

https://codereview.chromium.org/968263002/diff/220001/src/scopes.h
File src/scopes.h (right):

https://codereview.chromium.org/968263002/diff/220001/src/scopes.h#newcode285
src/scopes.h:285: void tag_as_class_scope() {
block_scope_is_class_scope_ = true; }
DCHECK(is_block_scope());

https://codereview.chromium.org/968263002/

--
--
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