Changeset 193939 in webkit for trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
- Timestamp:
- Dec 10, 2015, 6:08:31 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
r193766 r193939 145 145 if (!program.isString()) 146 146 return program; 147 147 148 148 TopCallFrameSetter topCallFrame(callFrame->vm(), callFrame); 149 JSGlobalObject* globalObject = callFrame->lexicalGlobalObject(); 150 if (!globalObject->evalEnabled()) { 151 callFrame->vm().throwException(callFrame, createEvalError(callFrame, globalObject->evalDisabledErrorMessage())); 152 return jsUndefined(); 153 } 149 154 String programSource = asString(program)->value(callFrame); 150 155 if (callFrame->hadException())
Note:
See TracChangeset
for help on using the changeset viewer.