Flush the runtime %DebugPrint output. Should have no performance impact,
since %DebugPrint is not often used. Needed for some performance testing statistics outputting. Fix the declaration of descriptor enumerated constants to be more readable. Review URL: http://codereview.chromium.org/3100 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@332 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
950ad34a94
commit
0d05c71db4
@ -303,10 +303,11 @@ enum PropertyType {
|
||||
CONSTANT_FUNCTION = 2, // only in fast mode
|
||||
CALLBACKS = 3,
|
||||
INTERCEPTOR = 4, // only in lookup results, not in descriptors.
|
||||
FIRST_PHANTOM_PROPERTY_TYPE = 5, // All properties before this are real.
|
||||
MAP_TRANSITION = 5, // only in fast mode
|
||||
CONSTANT_TRANSITION = 6, // only in fast mode
|
||||
NULL_DESCRIPTOR = 7 // only in fast mode
|
||||
NULL_DESCRIPTOR = 7, // only in fast mode
|
||||
// All properties before MAP_TRANSITION are real.
|
||||
FIRST_PHANTOM_PROPERTY_TYPE = MAP_TRANSITION
|
||||
};
|
||||
|
||||
|
||||
|
@ -3207,6 +3207,7 @@ static Object* Runtime_DebugPrint(Arguments args) {
|
||||
args[0]->ShortPrint();
|
||||
#endif
|
||||
PrintF("\n");
|
||||
Flush();
|
||||
|
||||
return args[0]; // return TOS
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user