Changeset 30235 in webkit for trunk/JavaScriptCore/kjs/JSGlobalObject.cpp
- Timestamp:
- Feb 14, 2008, 3:29:51 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/JSGlobalObject.cpp
r30102 r30235 140 140 d()->debugger = 0; 141 141 142 d()->activations = 0; 143 142 ActivationStackNode* newStackNode = new ActivationStackNode; 143 newStackNode->prev = 0; 144 d()->activations = newStackNode; 145 d()->activationCount = 0; 146 144 147 reset(prototype()); 145 148 } … … 215 218 216 219 ExecState* exec = &d()->globalExec; 217 218 deleteActivationStack();219 ActivationStackNode* newStackNode = new ActivationStackNode;220 newStackNode->prev = 0;221 d()->activations = newStackNode;222 d()->activationCount = 0;223 220 224 221 // Prototypes … … 531 528 if (!d()->activationCount) { 532 529 ActivationStackNode* prev = d()->activations->prev; 530 ASSERT(prev); 533 531 delete d()->activations; 534 532 d()->activations = prev;
Note:
See TracChangeset
for help on using the changeset viewer.