diff options
author | Feng Qian <fqian@google.com> | 2009-06-17 12:12:20 -0700 |
---|---|---|
committer | Feng Qian <fqian@google.com> | 2009-06-17 12:12:20 -0700 |
commit | 5f1ab04193ad0130ca8204aadaceae083aca9881 (patch) | |
tree | 5a92cd389e2cfe7fb67197ce14b38469462379f8 /JavaScriptCore/runtime/Completion.h | |
parent | 194315e5a908cc8ed67d597010544803eef1ac59 (diff) | |
download | external_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.zip external_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.tar.gz external_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.tar.bz2 |
Get WebKit r44544.
Diffstat (limited to 'JavaScriptCore/runtime/Completion.h')
-rw-r--r-- | JavaScriptCore/runtime/Completion.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/JavaScriptCore/runtime/Completion.h b/JavaScriptCore/runtime/Completion.h index 9631b50..41c9a64 100644 --- a/JavaScriptCore/runtime/Completion.h +++ b/JavaScriptCore/runtime/Completion.h @@ -39,24 +39,24 @@ namespace JSC { */ class Completion { public: - Completion(ComplType type = Normal, JSValuePtr value = noValue()) + Completion(ComplType type = Normal, JSValue value = JSValue()) : m_type(type) , m_value(value) { } ComplType complType() const { return m_type; } - JSValuePtr value() const { return m_value; } - void setValue(JSValuePtr v) { m_value = v; } + JSValue value() const { return m_value; } + void setValue(JSValue v) { m_value = v; } bool isValueCompletion() const { return m_value; } private: ComplType m_type; - JSValuePtr m_value; + JSValue m_value; }; Completion checkSyntax(ExecState*, const SourceCode&); - Completion evaluate(ExecState*, ScopeChain&, const SourceCode&, JSValuePtr thisValue = noValue()); + Completion evaluate(ExecState*, ScopeChain&, const SourceCode&, JSValue thisValue = JSValue()); } // namespace JSC |