Changeset 220778 in webkit for trunk/Source/JavaScriptCore/jit/JITOperations.cpp
- Timestamp:
- Aug 15, 2017, 6:10:01 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/JITOperations.cpp
r220724 r220778 1997 1997 } 1998 1998 1999 JSCell* JIT_OPERATION operationPushWithScope(ExecState* exec, JSCell* currentScopeCell, EncodedJSValue scopeObjectValue)1999 JSCell* JIT_OPERATION operationPushWithScope(ExecState* exec, JSCell* currentScopeCell, EncodedJSValue objectValue) 2000 2000 { 2001 2001 VM& vm = exec->vm(); … … 2003 2003 auto scope = DECLARE_THROW_SCOPE(vm); 2004 2004 2005 JSObject* newScope = JSValue::decode(scopeObjectValue).toObject(exec);2005 JSObject* object = JSValue::decode(objectValue).toObject(exec); 2006 2006 RETURN_IF_EXCEPTION(scope, nullptr); 2007 2007 2008 2008 JSScope* currentScope = jsCast<JSScope*>(currentScopeCell); 2009 2009 2010 return JSWithScope::create(vm, exec->lexicalGlobalObject(), newScope, currentScope);2010 return JSWithScope::create(vm, exec->lexicalGlobalObject(), currentScope, object); 2011 2011 } 2012 2012
Note:
See TracChangeset
for help on using the changeset viewer.