Index: qtwebengine/src/3rdparty/chromium/v8/src/compiler/instruction.h
diff --git qtwebengine/src/3rdparty/chromium/v8/src/compiler/instruction.h
index 6b9ad82f341c0f1073389cb0c2ab6018a34a0afe..5c052ac3c5d5de74bf3833d349852428e9de01f2 100644
--- qtwebengine.orig/src/3rdparty/chromium/v8/src/compiler/instruction.h
+++ qtwebengine/src/3rdparty/chromium/v8/src/compiler/instruction.h
@@ -1011,7 +1011,7 @@ class InstructionBlock final : public ZoneObject {
 
 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;
Index: src/zone-containers.h
diff --git qtwebengine/src/3rdparty/chromium/v8/src/zone-containers.h
index 8daf0dd657f232f070953f65fbe0930dd484e088..79b168c37eab7a16969d1b91384ba1f74e3d0423 100644
--- qtwebengine.orig/src/3rdparty/chromium/v8/src/zone-containers.h
+++ qtwebengine/src/3rdparty/chromium/v8/src/zone-containers.h
@@ -114,12 +114,12 @@ class ZoneSet : public std::set<K, Compare, zone_allocator<K>> {
 // a zone allocator.
 template <typename K, typename V, typename Compare = std::less<K>>
 class ZoneMap
-    : public std::map<K, V, Compare, zone_allocator<std::pair<K, V>>> {
+    : public std::map<K, V, Compare, zone_allocator<std::pair<const K, V>>> {
  public:
   // Constructs an empty map.
   explicit ZoneMap(Zone* zone)
-      : std::map<K, V, Compare, zone_allocator<std::pair<K, V>>>(
-            Compare(), zone_allocator<std::pair<K, V>>(zone)) {}
+      : std::map<K, V, Compare, zone_allocator<std::pair<const K, V>>>(
+            Compare(), zone_allocator<std::pair<const K, V>>(zone)) {}
 };
 
 
Index: qtwebengine/src/3rdparty/chromium/v8/src/compiler/js-type-feedback.h
diff --git qtwebengine/src/3rdparty/chromium/v8/src/compiler/js-type-feedback.h
index 8daf0dd657f232f070953f65fbe0930dd484e088..79b168c37eab7a16969d1b91384ba1f74e3d0423 100644
--- qtwebengine.orig/src/3rdparty/chromium/v8/src/compiler/js-type-feedback.h
+++ qtwebengine/src/3rdparty/chromium/v8/src/compiler/js-type-feedback.h
@@ -33,9 +33,10 @@
  private:
   friend class JSTypeFeedbackSpecializer;
   typedef std::map<NodeId, TypeFeedbackId, std::less<NodeId>,
-                   zone_allocator<TypeFeedbackId> > TypeFeedbackIdMap;
+                   zone_allocator<std::pair<const NodeId, TypeFeedbackId> > >
+      TypeFeedbackIdMap;
   typedef std::map<NodeId, FeedbackVectorICSlot, std::less<NodeId>,
-                   zone_allocator<FeedbackVectorICSlot> >
+                   zone_allocator<std::pair<const NodeId, FeedbackVectorICSlot> > >
       FeedbackVectorICSlotMap;
 
   TypeFeedbackIdMap type_feedback_id_map_;
