Index: SConstruct |
=================================================================== |
--- SConstruct (revision 6074) |
+++ SConstruct (working copy) |
@@ -108,11 +108,14 @@ |
'CPPDEFINES': ['V8_INTERPRETED_REGEXP'] |
}, |
'mode:debug': { |
- 'CPPDEFINES': ['V8_ENABLE_CHECKS'] |
+ 'CPPDEFINES': ['V8_ENABLE_CHECKS', 'OBJECT_PRINT'] |
}, |
'vmstate:on': { |
'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING'], |
}, |
+ 'objectprint:on': { |
+ 'CPPDEFINES': ['OBJECT_PRINT'], |
+ }, |
'protectheap:on': { |
'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING', 'ENABLE_HEAP_PROTECTION'], |
}, |
@@ -711,6 +714,11 @@ |
'default': 'off', |
'help': 'enable VM state tracking' |
}, |
+ 'objectprint': { |
+ 'values': ['on', 'off'], |
+ 'default': 'off', |
+ 'help': 'enable object printing' |
+ }, |
'protectheap': { |
'values': ['on', 'off'], |
'default': 'off', |