Vector ICs: gyp flag to run with vector-stores on.
authormvstanton <mvstanton@chromium.org>
Fri, 11 Sep 2015 10:00:05 +0000 (03:00 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 11 Sep 2015 10:00:17 +0000 (10:00 +0000)
This is so we can build with the flag on in the snapshot.
D8 then needs to be run with --vector-stores.

BUG=
R=machenbach@chromium.org

Review URL: https://codereview.chromium.org/1339593002

Cr-Commit-Position: refs/heads/master@{#30692}

Makefile
tools/gyp/v8.gyp

index baa3b52ca67eb01ed9f3763fe9666837ae124949..761b6fcb50cf703812d58abb6532054b24e974e5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -143,6 +143,10 @@ endif
 ifeq ($(deprecationwarnings), on)
   GYPFLAGS += -Dv8_deprecation_warnings=1
 endif
+# vectorstores=on
+ifeq ($(vectorstores), on)
+  GYPFLAGS += -Dv8_vector_stores=1
+endif
 # imminentdeprecationwarnings=on
 ifeq ($(imminentdeprecationwarnings), on)
   GYPFLAGS += -Dv8_imminent_deprecation_warnings=1
index a64851a3ed9bcfb1051d7e4e947e65c85bb9ae36..a5b6e055cf70e5ae353e5ae6ec9760af4cd8ff0f 100644 (file)
@@ -30,6 +30,7 @@
     'icu_use_data_file_flag%': 0,
     'v8_code': 1,
     'v8_random_seed%': 314159265,
+    'v8_vector_stores%': 0,
     'embed_script%': "",
     'v8_extra_library_files%': [],
     'v8_experimental_extra_library_files%': [],
               ['v8_random_seed!=0', {
                 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'],
               }],
+              ['v8_vector_stores!=0', {
+                'mksnapshot_flags': ['--vector-stores'],
+              }],
             ],
           },
           'action': [
                   ['v8_random_seed!=0', {
                     'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'],
                   }],
+                  ['v8_vector_stores!=0', {
+                    'mksnapshot_flags': ['--vector-stores'],
+                  }],
                 ],
               },
               'conditions': [