Created
October 19, 2022 06:56
-
-
Save dio/e5a23b9f0614369f2d5515a611b6ce42 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/bazel/v8.patch b/bazel/v8.patch | |
index 03c849156a..1b7a8f27b1 100644 | |
--- a/bazel/v8.patch | |
+++ b/bazel/v8.patch | |
@@ -363,3 +363,16 @@ index 131ff9614e..6455f8757d 100644 | |
char filename[] = "/tmp/v8_tmp_file_for_testing_XXXXXX"; | |
fd = mkstemp(filename); | |
if (fd != -1) CHECK_EQ(0, unlink(filename)); | |
+diff --git a/src/compiler/js-native-context-specialization.cc b/src/compiler/js-native-context-specialization.cc | |
+index 729d8ac99f..c1b0f7e0ba 100644 | |
+--- a/src/compiler/js-native-context-specialization.cc | |
++++ b/src/compiler/js-native-context-specialization.cc | |
+@@ -2330,7 +2330,7 @@ Node* JSNativeContextSpecialization::InlinePropertyGetterCall( | |
+ | |
+ if (access_info.IsDictionaryProtoAccessorConstant()) { | |
+ // For fast mode holders we recorded dependencies in BuildPropertyLoad. | |
+- for (const MapRef map : access_info.lookup_start_object_maps()) { | |
++ for (const MapRef& map : access_info.lookup_start_object_maps()) { | |
+ dependencies()->DependOnConstantInDictionaryPrototypeChain( | |
+ map, access_info.name(), constant, PropertyKind::kAccessor); | |
+ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment