Changeset 187760 in webkit for trunk/Source/JavaScriptCore/parser/Parser.cpp
- Timestamp:
- Aug 3, 2015, 1:47:54 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/Parser.cpp
r187680 r187760 2767 2767 JSTokenLocation location(tokenLocation()); 2768 2768 next(); 2769 return context. thisExpr(location, m_thisTDZMode);2769 return context.createThisExpr(location, m_thisTDZMode); 2770 2770 } 2771 2771 case IDENT: { … … 2917 2917 semanticFailIfFalse(currentScope()->isFunction(), "new.target is only valid inside functions"); 2918 2918 baseIsNewTarget = true; 2919 base = context. newTargetExpr(location);2919 base = context.createNewTargetExpr(location); 2920 2920 newCount--; 2921 2921 next(); … … 2927 2927 2928 2928 if (baseIsSuper) { 2929 base = context. superExpr(location);2929 base = context.createSuperExpr(location); 2930 2930 next(); 2931 2931 currentScope()->setNeedsSuperBinding();
Note:
See TracChangeset
for help on using the changeset viewer.