Changed Array.prototype.sort to use quick sort.
Fixed code generation issue where leaving a finally block with break or continue would accumulate elements on the expression stack (issue 86).
Made sure that the name accessor on functions returns the expected names for builtin JavaScript functions and C++ callback functions.
Added fast case code for extending the property storage array of JavaScript objects.
Ported switch statement optimizations introduced in version 0.3.3 to the ARM code generator.
Allowed GCC to use strict-aliasing rules when compiling.
Improved performance of arguments object allocation by taking care of arguments adaptor frames in the generated code.
Updated the V8 benchmark suite to version 2.
git-svn-id: http://v8.googlecode.com/svn/trunk@439 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/SConstruct b/SConstruct
index 52a1b2b..96ce466 100644
--- a/SConstruct
+++ b/SConstruct
@@ -43,8 +43,7 @@
'gcc': {
'all': {
'DIALECTFLAGS': ['-ansi'],
- 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS',
- '-fno-strict-aliasing'],
+ 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'],
'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'],
'LIBS': ['pthread']
},
@@ -53,7 +52,7 @@
'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG']
},
'mode:release': {
- 'CCFLAGS': ['-O2']
+ 'CCFLAGS': ['-O3']
},
'wordsize:64': {
'CCFLAGS': ['-m32'],
@@ -77,8 +76,9 @@
'LINKFLAGS': ['/DEBUG']
},
'mode:release': {
- 'CCFLAGS': ['/Ox', '/MT', '/GF'],
- 'LINKFLAGS': ['/OPT:REF', '/OPT:ICF']
+ 'CCFLAGS': ['/O2', '/MT', '/GL'],
+ 'LINKFLAGS': ['/OPT:REF', '/OPT:ICF', '/LTCG'],
+ 'ARFLAGS': ['/LTCG']
}
}
}
@@ -205,8 +205,8 @@
'LINKFLAGS': ['/MAP']
},
'mode:release': {
- 'CCFLAGS': ['/Ox', '/MT', '/GF'],
- 'LINKFLAGS': ['/OPT:REF', '/OPT:ICF']
+ 'CCFLAGS': ['/O2', '/MT'],
+ 'LINKFLAGS': ['/OPT:REF', '/OPT:ICF', '/LTCG']
},
'mode:debug': {
'CCFLAGS': ['/Od', '/MTd'],