Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Side by Side Diff: JavaScriptCore/runtime/JSFunction.h

Issue 28077: WebKit side of merge from r41149 to r41181. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/WebKit/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « JavaScriptCore/runtime/JSCell.h ('k') | JavaScriptCore/runtime/JSGlobalData.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999-2000 Harri Porten (porten@kde.org) 2 * Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3 * Copyright (C) 2003, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 3 * Copyright (C) 2003, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
4 * Copyright (C) 2007 Cameron Zwarich (cwzwarich@uwaterloo.ca) 4 * Copyright (C) 2007 Cameron Zwarich (cwzwarich@uwaterloo.ca)
5 * Copyright (C) 2007 Maks Orlovich 5 * Copyright (C) 2007 Maks Orlovich
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 20 matching lines...) Expand all
31 #include "JSObject.h" 31 #include "JSObject.h"
32 32
33 namespace JSC { 33 namespace JSC {
34 34
35 class FunctionBodyNode; 35 class FunctionBodyNode;
36 class FunctionPrototype; 36 class FunctionPrototype;
37 class JSActivation; 37 class JSActivation;
38 class JSGlobalObject; 38 class JSGlobalObject;
39 39
40 class JSFunction : public InternalFunction { 40 class JSFunction : public InternalFunction {
41 friend class Interpreter;
42 friend class JIT; 41 friend class JIT;
43 friend class JITStubs; 42 friend class JITStubs;
43 friend class VPtrSet;
44 44
45 typedef InternalFunction Base; 45 typedef InternalFunction Base;
46 46
47 JSFunction(PassRefPtr<Structure> structure) 47 JSFunction(PassRefPtr<Structure> structure)
48 : InternalFunction(structure) 48 : InternalFunction(structure)
49 , m_scopeChain(NoScopeChain()) 49 , m_scopeChain(NoScopeChain())
50 { 50 {
51 } 51 }
52 52
53 public: 53 public:
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 { 97 {
98 ASSERT(asObject(value)->inherits(&JSFunction::info)); 98 ASSERT(asObject(value)->inherits(&JSFunction::info));
99 return static_cast<JSFunction*>(asObject(value)); 99 return static_cast<JSFunction*>(asObject(value));
100 } 100 }
101 101
102 } // namespace JSC 102 } // namespace JSC
103 103
104 #endif // JSFunction_h 104 #endif // JSFunction_h
105 105
106 106
OLDNEW
« no previous file with comments | « JavaScriptCore/runtime/JSCell.h ('k') | JavaScriptCore/runtime/JSGlobalData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698