diff --git a/common.gypi b/common.gypi index c1445595209fc7..517a986acc4b7f 100644 --- a/common.gypi +++ b/common.gypi @@ -38,7 +38,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.10', + 'v8_embedder_string': '-node.11', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/tools/gen-postmortem-metadata.py b/deps/v8/tools/gen-postmortem-metadata.py index db4c6c23658096..b5aba23220bac8 100644 --- a/deps/v8/tools/gen-postmortem-metadata.py +++ b/deps/v8/tools/gen-postmortem-metadata.py @@ -653,9 +653,7 @@ def emit_config(): out.write('/* class type information */\n'); consts = []; - keys = typeclasses.keys(); - keys.sort(); - for typename in keys: + for typename in sorted(typeclasses): klass = typeclasses[typename]; consts.append({ 'name': 'type_%s__%s' % (klass, typename), @@ -666,9 +664,7 @@ def emit_config(): out.write('/* class hierarchy information */\n'); consts = []; - keys = klasses.keys(); - keys.sort(); - for klassname in keys: + for klassname in sorted(klasses): pklass = klasses[klassname]['parent']; bklass = get_base_class(klassname); if (bklass != 'Object'):