Changeset 159462 in webkit for trunk/Source/JavaScriptCore/runtime/JSScope.cpp
- Timestamp:
- Nov 18, 2013, 3:19:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSScope.cpp
r155143 r159462 54 54 if (ident == exec->propertyNames().arguments) { 55 55 // We know the property will be at this activation scope, but we don't know how to cache it. 56 op = ResolveOp(Dynamic, 0, 0, 0 );56 op = ResolveOp(Dynamic, 0, 0, 0, 0); 57 57 return true; 58 58 } … … 61 61 if (entry.isReadOnly() && getOrPut == Put) { 62 62 // We know the property will be at this activation scope, but we don't know how to cache it. 63 op = ResolveOp(Dynamic, 0, 0, 0 );63 op = ResolveOp(Dynamic, 0, 0, 0, 0); 64 64 return true; 65 65 } 66 66 67 67 if (!entry.isNull()) { 68 op = ResolveOp(makeType(ClosureVar, needsVarInjectionChecks), depth, activation->structure(), entry.getIndex());68 op = ResolveOp(makeType(ClosureVar, needsVarInjectionChecks), depth, activation->structure(), 0, entry.getIndex()); 69 69 return true; 70 70 } … … 81 81 if (entry.isReadOnly()) { 82 82 // We know the property will be at global scope, but we don't know how to cache it. 83 op = ResolveOp(Dynamic, 0, 0, 0 );83 op = ResolveOp(Dynamic, 0, 0, 0, 0); 84 84 return true; 85 85 } … … 89 89 } 90 90 91 op = ResolveOp(makeType(GlobalVar, needsVarInjectionChecks), depth, globalObject->structure(), 91 op = ResolveOp( 92 makeType(GlobalVar, needsVarInjectionChecks), depth, 0, entry.watchpointSet(), 92 93 reinterpret_cast<uintptr_t>(globalObject->registerAt(entry.getIndex()).slot())); 93 94 return true; … … 101 102 // We know the property will be at global scope, but we don't know how to cache it. 102 103 ASSERT(!scope->next()); 103 op = ResolveOp(makeType(GlobalProperty, needsVarInjectionChecks), depth, 0, 0 );104 op = ResolveOp(makeType(GlobalProperty, needsVarInjectionChecks), depth, 0, 0, 0); 104 105 return true; 105 106 } 106 107 107 op = ResolveOp(makeType(GlobalProperty, needsVarInjectionChecks), depth, globalObject->structure(), slot.cachedOffset());108 op = ResolveOp(makeType(GlobalProperty, needsVarInjectionChecks), depth, globalObject->structure(), 0, slot.cachedOffset()); 108 109 return true; 109 110 } 110 111 111 op = ResolveOp(Dynamic, 0, 0, 0 );112 op = ResolveOp(Dynamic, 0, 0, 0, 0); 112 113 return true; 113 114 } … … 147 148 ResolveOp JSScope::abstractResolve(ExecState* exec, JSScope* scope, const Identifier& ident, GetOrPut getOrPut, ResolveType unlinkedType) 148 149 { 149 ResolveOp op(Dynamic, 0, 0, 0 );150 ResolveOp op(Dynamic, 0, 0, 0, 0); 150 151 if (unlinkedType == Dynamic) 151 152 return op;
Note:
See TracChangeset
for help on using the changeset viewer.