Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 8f79acad24f303ee236eb648276be13d9472f68d..e284454c8eba5b13160560e892e3e98d1cd10cca 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1,4 +1,4 @@ |
-// Copyright 2006-2009 the V8 project authors. All rights reserved. |
+// Copyright 2010 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -3621,6 +3621,9 @@ class SharedFunctionInfo: public HeapObject { |
// properties. |
DECL_ACCESSORS(inferred_name, String) |
+ // The function's name if it is non-empty, otherwise the inferred name. |
+ String* DebugName(); |
+ |
// Position of the 'function' token in the script source. |
inline int function_token_position(); |
inline void set_function_token_position(int function_token_position); |