Changeset 196959 in webkit for trunk/Source/JavaScriptCore/runtime/InternalFunction.cpp
- Timestamp:
- Feb 22, 2016, 2:24:51 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/InternalFunction.cpp
r194863 r196959 85 85 // We allow newTarget == JSValue() because the API needs to be able to create classes without having a real JS frame. 86 86 // Since we don't allow subclassing in the API we just treat newTarget == JSValue() as newTarget == exec->callee() 87 ASSERT(!newTarget || newTarget.is Function());87 ASSERT(!newTarget || newTarget.isConstructor()); 88 88 89 89 if (newTarget && newTarget != exec->callee()) {
Note:
See TracChangeset
for help on using the changeset viewer.