Added an option to enable the disassembler in both debug and release

mode builds.  It is off by default (but the disassembler is already
enabled for debug builds).


git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@164 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 57fcbc37
......@@ -58,7 +58,7 @@ LIBRARY_FLAGS = {
'wordsize:64': {
'CCFLAGS': ['-m32'],
'LINKFLAGS': ['-m32']
},
}
},
'msvc': {
'all': {
......@@ -97,6 +97,9 @@ V8_EXTRA_FLAGS = {
'arch:arm': {
'CPPDEFINES': ['ARM']
},
'disassembler:on': {
'CPPDEFINES': ['ENABLE_DISASSEMBLER']
}
},
'msvc': {
'all': {
......@@ -108,6 +111,9 @@ V8_EXTRA_FLAGS = {
'arch:arm': {
'CPPDEFINES': ['ARM']
},
'disassembler:on': {
'CPPDEFINES': ['ENABLE_DISASSEMBLER']
}
}
}
......@@ -283,6 +289,11 @@ SIMPLE_OPTIONS = {
'values': ['arm', 'none'],
'default': 'none',
'help': 'build with simulator'
},
'disassembler': {
'values': ['on', 'off'],
'default': 'off',
'help': 'enable the disassembler to inspect generated code'
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment