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
This commit is contained in:
parent
57fcbc370c
commit
1472ee5970
13
SConstruct
13
SConstruct
@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user