| Index: build/toolchain.gypi
|
| diff --git a/build/toolchain.gypi b/build/toolchain.gypi
|
| index e1903f300fd757090f123a16f7456880b9779748..02dc2bce7eba3e577faf428fa9c0763970c0a8c0 100644
|
| --- a/build/toolchain.gypi
|
| +++ b/build/toolchain.gypi
|
| @@ -533,15 +533,18 @@
|
| ['v8_optimized_debug==1', {
|
| 'cflags!': [
|
| '-O0',
|
| - '-O3', # TODO(2807) should be -O1.
|
| + '-O1',
|
| '-O2',
|
| '-Os',
|
| ],
|
| 'cflags': [
|
| '-fdata-sections',
|
| '-ffunction-sections',
|
| - '-O1', # TODO(2807) should be -O3.
|
| + '-O3'
|
| ],
|
| + 'defines': [
|
| + 'OPTIMIZED_DEBUG'
|
| + ]
|
| }],
|
| ['v8_optimized_debug==2', {
|
| 'cflags!': [
|
|
|