Changeset 180460 in webkit for trunk/Source/JavaScriptCore/runtime/JSFunction.cpp
- Timestamp:
- Feb 20, 2015, 2:54:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSFunction.cpp
r174216 r180460 2 2 * Copyright (C) 1999-2002 Harri Porten ([email protected]) 3 3 * Copyright (C) 2001 Peter Kelly ([email protected]) 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2015 Apple Inc. All rights reserved. 5 5 * Copyright (C) 2007 Cameron Zwarich ([email protected]) 6 6 * Copyright (C) 2007 Maks Orlovich … … 36 36 #include "JSBoundFunction.h" 37 37 #include "JSFunctionInlines.h" 38 #include "JSFunctionNameScope.h" 38 39 #include "JSGlobalObject.h" 39 #include "JSNameScope.h"40 40 #include "JSNotAnObject.h" 41 41 #include "Interpreter.h" … … 117 117 if (!functionNameScopeIsDynamic(executable->usesEval(), executable->isStrictMode())) 118 118 return; 119 setScope(vm, JS NameScope::create(vm, scope()->globalObject(), executable->name(), this, ReadOnly | DontDelete, scope(), JSNameScope::FunctionNameScope));119 setScope(vm, JSFunctionNameScope::create(vm, scope()->globalObject(), scope(), executable->name(), this, ReadOnly | DontDelete)); 120 120 } 121 121
Note:
See TracChangeset
for help on using the changeset viewer.