Make optimized debug builds compile with all optimizations.
authormachenbach@chromium.org <machenbach@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 26 Nov 2013 16:48:55 +0000 (16:48 +0000)
committermachenbach@chromium.org <machenbach@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 26 Nov 2013 16:48:55 +0000 (16:48 +0000)
This results in a speed-up of around 30% on all architectures. For local developer builds only. The bots will continue to use level 1 for now.

BUG=
R=yangguo@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18085 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

Makefile

index 64bf7bca8dc735a3965b527b57acc3eff8267fb4..295ef9ac8871a81cc00f696569853876ee14a005 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -94,7 +94,7 @@ ifeq ($(vtunejit), on)
 endif
 # optdebug=on
 ifeq ($(optdebug), on)
-  GYPFLAGS += -Dv8_optimized_debug=1
+  GYPFLAGS += -Dv8_optimized_debug=2
 endif
 # debuggersupport=off
 ifeq ($(debuggersupport), off)