Index: src/messages.h |
diff --git a/src/messages.h b/src/messages.h |
index 8e38ff0de8d5d23bc36d3d02d077cc91a7128bd0..745bc2a46954e1c8079028f36b03498cfc7c274e 100644 |
--- a/src/messages.h |
+++ b/src/messages.h |
@@ -23,25 +23,26 @@ class AbstractCode; |
class FrameArray; |
class JSMessageObject; |
class LookupIterator; |
+class SharedFunctionInfo; |
class SourceInfo; |
class MessageLocation { |
public: |
MessageLocation(Handle<Script> script, int start_pos, int end_pos); |
MessageLocation(Handle<Script> script, int start_pos, int end_pos, |
- Handle<JSFunction> function); |
+ Handle<SharedFunctionInfo> shared); |
MessageLocation(); |
Handle<Script> script() const { return script_; } |
int start_pos() const { return start_pos_; } |
int end_pos() const { return end_pos_; } |
- Handle<JSFunction> function() const { return function_; } |
+ Handle<SharedFunctionInfo> shared() const { return shared_; } |
private: |
Handle<Script> script_; |
int start_pos_; |
int end_pos_; |
- Handle<JSFunction> function_; |
+ Handle<SharedFunctionInfo> shared_; |
}; |
class StackFrameBase { |