Index: src/objects.h |
=================================================================== |
--- src/objects.h (revision 8463) |
+++ src/objects.h (working copy) |
@@ -3464,6 +3464,7 @@ |
class SafepointEntry; |
+class StatsCounter; |
// Code describes objects with on-the-fly generated machine code. |
@@ -3521,6 +3522,9 @@ |
void Disassemble(const char* name, FILE* out); |
#endif // ENABLE_DISASSEMBLER |
+ // Returns a counter for the kind of code, or NULL if there is none. |
+ StatsCounter* Counter(Isolate* isolate); |
+ |
// [instruction_size]: Size of the native instructions |
inline int instruction_size(); |
inline void set_instruction_size(int value); |