Changeset 43153 in webkit for trunk/JavaScriptCore/interpreter
- Timestamp:
- May 2, 2009, 6:58:45 PM (16 years ago)
- Location:
- trunk/JavaScriptCore/interpreter
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/CallFrame.h
r43122 r43153 75 75 76 76 void setException(JSValue exception) { globalData().exception = exception; } 77 void clearException() { globalData().exception = noValue(); }77 void clearException() { globalData().exception = JSValue(); } 78 78 JSValue exception() const { return globalData().exception; } 79 79 JSValue* exceptionSlot() { return &globalData().exception; } -
trunk/JavaScriptCore/interpreter/Interpreter.cpp
r43122 r43153 1095 1095 ASSERT(m_opcodeIDTable.size() == numOpcodeIDs); 1096 1096 #endif // HAVE(COMPUTED_GOTO) 1097 return noValue();1097 return JSValue(); 1098 1098 } 1099 1099 … … 1104 1104 1105 1105 JSGlobalData* globalData = &callFrame->globalData(); 1106 JSValue exceptionValue = noValue();1106 JSValue exceptionValue; 1107 1107 HandlerInfo* handler = 0; 1108 1108 … … 1113 1113 #define CHECK_FOR_EXCEPTION() \ 1114 1114 do { \ 1115 if (UNLIKELY(globalData->exception != noValue())) { \1115 if (UNLIKELY(globalData->exception != JSValue())) { \ 1116 1116 exceptionValue = globalData->exception; \ 1117 1117 goto vm_throw; \ … … 3568 3568 int ex = (++vPC)->u.operand; 3569 3569 callFrame[ex] = exceptionValue; 3570 exceptionValue = noValue();3570 exceptionValue = JSValue(); 3571 3571 3572 3572 ++vPC; … … 3757 3757 } 3758 3758 vm_throw: { 3759 globalData->exception = noValue();3759 globalData->exception = JSValue(); 3760 3760 if (!tickCount) { 3761 3761 // The exceptionValue is a lie! (GCC produces bad code for reasons I … … 3825 3825 void Interpreter::retrieveLastCaller(CallFrame* callFrame, int& lineNumber, intptr_t& sourceID, UString& sourceURL, JSValue& function) const 3826 3826 { 3827 function = noValue();3827 function = JSValue(); 3828 3828 lineNumber = -1; 3829 3829 sourceURL = UString(); -
trunk/JavaScriptCore/interpreter/Register.h
r43122 r43153 106 106 { 107 107 #ifndef NDEBUG 108 u.value = JSValue::encode( noValue());108 u.value = JSValue::encode(JSValue()); 109 109 #endif 110 110 }
Note:
See TracChangeset
for help on using the changeset viewer.