diff --git a/common.gypi b/common.gypi index b95823a237092f..a44de87bc20df8 100644 --- a/common.gypi +++ b/common.gypi @@ -37,7 +37,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.6', + 'v8_embedder_string': '-node.7', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/AUTHORS b/deps/v8/AUTHORS index bea5f9ae85c601..ecf0e5d1fbebe9 100644 --- a/deps/v8/AUTHORS +++ b/deps/v8/AUTHORS @@ -46,6 +46,7 @@ Alexander Botero-Lowry Alexander Karpinsky Alexandre Vassalotti Alexis Campailla +Allan Sandfeld Jensen Amos Lim Andreas Anyuru Andrew Paprocki diff --git a/deps/v8/src/compiler/backend/gap-resolver.cc b/deps/v8/src/compiler/backend/gap-resolver.cc index 6cb7d7fbaf3b37..1758ca2c5adb71 100644 --- a/deps/v8/src/compiler/backend/gap-resolver.cc +++ b/deps/v8/src/compiler/backend/gap-resolver.cc @@ -96,8 +96,7 @@ void GapResolver::Resolve(ParallelMove* moves) { for (auto it = moves->begin(); it != moves->end();) { MoveOperands* move = *it; if (move->IsRedundant()) { - *it = moves->back(); - moves->pop_back(); + it = moves->erase(it); continue; } source_kinds.Add(GetKind(move->source()));