Fixed bug that caused function literals to not be optimized as much as other functions.
Improved profiler support.
Fixed a crash bug in connection with debugger unloading.
Fixed a crash bug in the code generator caused by losing the information that a frame element was copied.
Fixed an exception propagation bug that could cause non-null return values when exceptions were thrown.
git-svn-id: http://v8.googlecode.com/svn/trunk@1664 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/SConstruct b/SConstruct
index 8b1ff6d..68b7793 100644
--- a/SConstruct
+++ b/SConstruct
@@ -92,12 +92,16 @@
},
'mode:debug': {
'CCFLAGS': ['-g', '-O0'],
- 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG']
+ 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'],
+ 'os:android': {
+ 'CCFLAGS': ['-mthumb']
+ }
},
'mode:release': {
'CCFLAGS': ['-O3', '-fomit-frame-pointer', '-fdata-sections',
'-ffunction-sections'],
'os:android': {
+ 'CCFLAGS': ['-mthumb', '-Os'],
'CPPDEFINES': ['SK_RELEASE', 'NDEBUG']
}
},