http://codereview.chromium.org/7671042/diff/3001/src/contexts.cc
File src/contexts.cc (right):

http://codereview.chromium.org/7671042/diff/3001/src/contexts.cc#newcode98
src/contexts.cc:98:
It's not so ideal to have the output parameter binding_flags
uninitialized on some paths. I'd also initialize binding_flags to a
default value as it is done for the other two parameters index and
attributes.

http://codereview.chromium.org/7671042/diff/3001/src/contexts.h
File src/contexts.h (right):

http://codereview.chromium.org/7671042/diff/3001/src/contexts.h#newcode379
src/contexts.h:379: BindingFlags* binding_flags);
Reformat to make all parameters on a separate line.

http://codereview.chromium.org/7671042/diff/3001/src/runtime.cc
File src/runtime.cc (right):

http://codereview.chromium.org/7671042/diff/3001/src/runtime.cc#newcode8568
src/runtime.cc:8568: Handle<Context> context =
Handle<Context>(Context::cast(*holder));
I think you should rewrite this to avoid creating a new handle:

Handle<Context> context = Handle<Context>::cast(holder);

http://codereview.chromium.org/7671042/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to