Reviewers: Dmitry Lomov (chromium), adamk,

Message:
Ready for review.


https://codereview.chromium.org/631433002/diff/1/src/parser.cc
File src/parser.cc (left):

https://codereview.chromium.org/631433002/diff/1/src/parser.cc#oldcode1977
src/parser.cc:1977: Block* block = factory()->NewBlock(NULL, 1, true,
pos);
No need for this block since we only need to return one statement here.

Description:
This uses a runtime function to set up the the constructor and its
prototype.

This does not add the methods/accessors to the prototype or the
constructor.

BUG=v8:3330
LOG=Y

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

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

Affected files (+322, -39 lines):
  M src/compiler/ast-graph-builder.cc
  M src/compiler/pipeline.cc
  M src/full-codegen.cc
  M src/globals.h
  M src/messages.js
  M src/parser.h
  M src/parser.cc
  M src/preparser.h
  M src/runtime/runtime.h
  M src/runtime/runtime.cc
  A test/mjsunit/harmony/classes.js
  M test/mjsunit/mjsunit.status


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