Commit fc13377a authored by cwzwarich@webkit.org's avatar cwzwarich@webkit.org

2008-06-15 Cameron Zwarich <cwzwarich@uwaterloo.ca>

        Reviewed by Maciej.

        Remove unused preprocessor macros related to exceptions in the old
        interpreter.

        * kjs/nodes.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 875318ae
2008-06-15 Cameron Zwarich <cwzwarich@uwaterloo.ca>
Reviewed by Maciej.
Remove unused preprocessor macros related to exceptions in the old
interpreter.
* kjs/nodes.cpp:
2008-06-15 Cameron Zwarich <cwzwarich@uwaterloo.ca>
Reviewed by Maciej.
......
......@@ -45,34 +45,6 @@
namespace KJS {
#define KJS_CHECKEXCEPTION \
if (UNLIKELY(exec->hadException())) \
return rethrowException(exec);
#define KJS_CHECKEXCEPTIONVALUE \
if (UNLIKELY(exec->hadException())) { \
handleException(exec); \
return jsUndefined(); \
}
#define KJS_CHECKEXCEPTIONNUMBER \
if (UNLIKELY(exec->hadException())) { \
handleException(exec); \
return 0; \
}
#define KJS_CHECKEXCEPTIONBOOLEAN \
if (UNLIKELY(exec->hadException())) { \
handleException(exec); \
return false; \
}
#define KJS_CHECKEXCEPTIONVOID \
if (UNLIKELY(exec->hadException())) { \
handleException(exec); \
return; \
}
static inline bool isConstant(const LocalStorage& localStorage, size_t index)
{
ASSERT(index < localStorage.size());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment