https://codereview.chromium.org/13799003/diff/1/include/v8.h
File include/v8.h (right):

https://codereview.chromium.org/13799003/diff/1/include/v8.h#newcode3891
include/v8.h:3891: /** Deprecated. Use Isolate version instead. */
Perhaps add an explicit TODO for inserting V8_DEPRECATED, we have this
already at other places.

https://codereview.chromium.org/13799003/diff/1/src/bootstrapper.cc
File src/bootstrapper.cc (right):

https://codereview.chromium.org/13799003/diff/1/src/bootstrapper.cc#newcode308
src/bootstrapper.cc:308: if (InstallExtensions(env, extensions)) {
Merge the "if"s, move the last "return" to an "else" branch, swap the
"if" branches by inverting the condition, drop the "else" again. :-)
This makes the normal control flow clearer, with the exceptional cases
bailing out early, which is a good idea:
http://www.refactoring.com/catalog/replaceNestedConditionalWithGuardClauses.html

https://codereview.chromium.org/13799003/diff/1/src/debug.cc
File src/debug.cc (right):

https://codereview.chromium.org/13799003/diff/1/src/debug.cc#newcode878
src/debug.cc:878: debug_context_ = Handle<Context>::cast(
I don't fully understand why this is necessary...

https://codereview.chromium.org/13799003/

--
--
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/groups/opt_out.


Reply via email to