summaryrefslogtreecommitdiff
path: root/www/node/files/patch-deps_v8_src_compiler_instruction.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/node/files/patch-deps_v8_src_compiler_instruction.h')
-rw-r--r--www/node/files/patch-deps_v8_src_compiler_instruction.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/node/files/patch-deps_v8_src_compiler_instruction.h b/www/node/files/patch-deps_v8_src_compiler_instruction.h
new file mode 100644
index 000000000000..9868d91d7b47
--- /dev/null
+++ b/www/node/files/patch-deps_v8_src_compiler_instruction.h
@@ -0,0 +1,11 @@
+--- deps/v8/src/compiler/instruction.h.orig 2016-03-16 21:22:58.000000000 +0100
++++ deps/v8/src/compiler/instruction.h 2016-03-24 23:27:23.004854000 +0100
+@@ -1011,7 +1011,7 @@ class InstructionBlock final : public Zo
+
+ typedef ZoneDeque<Constant> ConstantDeque;
+ typedef std::map<int, Constant, std::less<int>,
+- zone_allocator<std::pair<int, Constant> > > ConstantMap;
++ zone_allocator<std::pair<const int, Constant> > > ConstantMap;
+
+ typedef ZoneDeque<Instruction*> InstructionDeque;
+ typedef ZoneDeque<ReferenceMap*> ReferenceMapDeque;