~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/webkit/JavaScriptCore/runtime/GlobalEvalFunction.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *  Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3
 
 *  Copyright (C) 2003, 2006, 2007, 2008 Apple Inc. All rights reserved.
 
3
 *  Copyright (C) 2003, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
4
4
 *  Copyright (C) 2007 Cameron Zwarich (cwzwarich@uwaterloo.ca)
5
5
 *  Copyright (C) 2007 Maks Orlovich
6
6
 *
32
32
 
33
33
    class GlobalEvalFunction : public PrototypeFunction {
34
34
    public:
35
 
        GlobalEvalFunction(ExecState*, PassRefPtr<Structure>, int len, const Identifier&, NativeFunction, JSGlobalObject* expectedThisObject);
 
35
        GlobalEvalFunction(ExecState*, NonNullPassRefPtr<Structure>, int len, const Identifier&, NativeFunction, JSGlobalObject* expectedThisObject);
36
36
        JSGlobalObject* cachedGlobalObject() const { return m_cachedGlobalObject; }
37
37
 
 
38
        static PassRefPtr<Structure> createStructure(JSValue prototype) 
 
39
        { 
 
40
            return Structure::create(prototype, TypeInfo(ObjectType, ImplementsHasInstance | HasStandardGetOwnPropertySlot));
 
41
        }
 
42
 
38
43
    private:
39
 
        virtual void mark();
 
44
        virtual void markChildren(MarkStack&);
40
45
 
41
46
        JSGlobalObject* m_cachedGlobalObject;
42
47
    };