Changeset 37242 in webkit for trunk/JavaScriptCore/kjs
- Timestamp:
- Oct 3, 2008, 10:27:37 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/Shell.cpp
r37184 r37242 23 23 #include "config.h" 24 24 25 #include "ObjectPrototype.h"26 #include "ObjectConstructor.h"27 28 25 #include "CodeGenerator.h" 29 26 #include "InitializeThreading.h" 30 27 #include "JSArray.h" 31 #include "JSFunction.h"32 #include "JSGlobalObject.h"33 28 #include "JSLock.h" 34 #include "JSObject.h"35 #include "Parser.h"36 29 #include "PrototypeFunction.h" 37 #include "SamplingTool.h"38 #include "collector.h"39 30 #include "completion.h" 40 31 #include "interpreter.h" 41 #include "nodes.h"42 #include "protect.h"43 32 #include <math.h> 44 33 #include <stdio.h> 45 34 #include <string.h> 46 #include <wtf/Assertions.h>47 #include <wtf/HashTraits.h>48 35 49 36 #if !PLATFORM(WIN_OS) … … 309 296 int res = 0; 310 297 TRY 311 JSGlobalData* globalData = JSGlobalData::create().releaseRef(); 312 res = jscmain(argc, argv, globalData); 313 delete globalData; 298 res = jscmain(argc, argv, JSGlobalData::create().releaseRef()); 314 299 EXCEPT(res = 3) 315 300 return res;
Note:
See TracChangeset
for help on using the changeset viewer.