Commit d8eddaa0 authored by deanm@chromium.org's avatar deanm@chromium.org

Enable string pooling in the VS release build. This saves 46k for a...

Enable string pooling in the VS release build.  This saves 46k for a v8_shell_sample.exe, I didn't measure performance or the overall change to a Chromium build.  I think this option should always make sense anyway, unless we're using some string constants incorrectly.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@365 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 16bfefe0
......@@ -77,7 +77,7 @@ LIBRARY_FLAGS = {
'LINKFLAGS': ['/DEBUG']
},
'mode:release': {
'CCFLAGS': ['/Ox', '/MT'],
'CCFLAGS': ['/Ox', '/MT', '/GF'],
'LINKFLAGS': ['/OPT:REF', '/OPT:ICF']
}
}
......@@ -202,7 +202,7 @@ SAMPLE_FLAGS = {
'CPPDEFINES': ['USING_V8_SHARED']
},
'mode:release': {
'CCFLAGS': ['/Ox', '/MT'],
'CCFLAGS': ['/Ox', '/MT', '/GF'],
'LINKFLAGS': ['/OPT:REF', '/OPT:ICF']
},
'mode:debug': {
......
......@@ -12,6 +12,7 @@
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="0"
OmitFramePointers="true"
StringPooling="true"
/>
<Tool
Name="VCLinkerTool"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment