Changeset 159834 in webkit for trunk/Source/JavaScriptCore/runtime/JSScope.cpp
- Timestamp:
- Nov 27, 2013, 11:10:10 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSScope.cpp
r159545 r159834 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, 0 );56 op = ResolveOp(Dynamic, 0, 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, 0 );63 op = ResolveOp(Dynamic, 0, 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(), 0, entry.getIndex());68 op = ResolveOp(makeType(ClosureVar, needsVarInjectionChecks), depth, 0, activation, 0, entry.getIndex()); 69 69 return true; 70 70 } … … 80 80 if (getOrPut == Put && entry.isReadOnly()) { 81 81 // We know the property will be at global scope, but we don't know how to cache it. 82 op = ResolveOp(Dynamic, 0, 0, 0, 0 );82 op = ResolveOp(Dynamic, 0, 0, 0, 0, 0); 83 83 return true; 84 84 } 85 85 86 86 op = ResolveOp( 87 makeType(GlobalVar, needsVarInjectionChecks), depth, 0, entry.watchpointSet(),87 makeType(GlobalVar, needsVarInjectionChecks), depth, 0, 0, entry.watchpointSet(), 88 88 reinterpret_cast<uintptr_t>(globalObject->registerAt(entry.getIndex()).slot())); 89 89 return true; … … 97 97 // We know the property will be at global scope, but we don't know how to cache it. 98 98 ASSERT(!scope->next()); 99 op = ResolveOp(makeType(GlobalProperty, needsVarInjectionChecks), depth, 0, 0, 0 );99 op = ResolveOp(makeType(GlobalProperty, needsVarInjectionChecks), depth, 0, 0, 0, 0); 100 100 return true; 101 101 } 102 102 103 op = ResolveOp(makeType(GlobalProperty, needsVarInjectionChecks), depth, globalObject->structure(), 0, slot.cachedOffset());103 op = ResolveOp(makeType(GlobalProperty, needsVarInjectionChecks), depth, globalObject->structure(), 0, 0, slot.cachedOffset()); 104 104 return true; 105 105 } 106 106 107 op = ResolveOp(Dynamic, 0, 0, 0, 0 );107 op = ResolveOp(Dynamic, 0, 0, 0, 0, 0); 108 108 return true; 109 109 } … … 143 143 ResolveOp JSScope::abstractResolve(ExecState* exec, JSScope* scope, const Identifier& ident, GetOrPut getOrPut, ResolveType unlinkedType) 144 144 { 145 ResolveOp op(Dynamic, 0, 0, 0, 0 );145 ResolveOp op(Dynamic, 0, 0, 0, 0, 0); 146 146 if (unlinkedType == Dynamic) 147 147 return op;
Note:
See TracChangeset
for help on using the changeset viewer.