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

Side by Side Diff: src/accessors.h

Issue 450034: Remove the last context dependent reference from the Script object... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years 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 | « no previous file | src/accessors.cc » ('j') | src/compiler.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 V(ScriptSource) \ 44 V(ScriptSource) \
45 V(ScriptName) \ 45 V(ScriptName) \
46 V(ScriptId) \ 46 V(ScriptId) \
47 V(ScriptLineOffset) \ 47 V(ScriptLineOffset) \
48 V(ScriptColumnOffset) \ 48 V(ScriptColumnOffset) \
49 V(ScriptData) \ 49 V(ScriptData) \
50 V(ScriptType) \ 50 V(ScriptType) \
51 V(ScriptCompilationType) \ 51 V(ScriptCompilationType) \
52 V(ScriptLineEnds) \ 52 V(ScriptLineEnds) \
53 V(ScriptContextData) \ 53 V(ScriptContextData) \
54 V(ScriptEvalFromFunction) \ 54 V(ScriptEvalFromScript) \
55 V(ScriptEvalFromPosition) \ 55 V(ScriptEvalFromScriptPosition) \
56 V(ScriptEvalFromFunctionName) \
56 V(ObjectPrototype) 57 V(ObjectPrototype)
57 58
58 // Accessors contains all predefined proxy accessors. 59 // Accessors contains all predefined proxy accessors.
59 60
60 class Accessors : public AllStatic { 61 class Accessors : public AllStatic {
61 public: 62 public:
62 // Accessor descriptors. 63 // Accessor descriptors.
63 #define ACCESSOR_DESCRIPTOR_DECLARATION(name) \ 64 #define ACCESSOR_DESCRIPTOR_DECLARATION(name) \
64 static const AccessorDescriptor name; 65 static const AccessorDescriptor name;
65 ACCESSOR_DESCRIPTOR_LIST(ACCESSOR_DESCRIPTOR_DECLARATION) 66 ACCESSOR_DESCRIPTOR_LIST(ACCESSOR_DESCRIPTOR_DECLARATION)
(...skipping 22 matching lines...) Expand all
88 static Object* ScriptGetName(Object* object, void*); 89 static Object* ScriptGetName(Object* object, void*);
89 static Object* ScriptGetId(Object* object, void*); 90 static Object* ScriptGetId(Object* object, void*);
90 static Object* ScriptGetSource(Object* object, void*); 91 static Object* ScriptGetSource(Object* object, void*);
91 static Object* ScriptGetLineOffset(Object* object, void*); 92 static Object* ScriptGetLineOffset(Object* object, void*);
92 static Object* ScriptGetColumnOffset(Object* object, void*); 93 static Object* ScriptGetColumnOffset(Object* object, void*);
93 static Object* ScriptGetData(Object* object, void*); 94 static Object* ScriptGetData(Object* object, void*);
94 static Object* ScriptGetType(Object* object, void*); 95 static Object* ScriptGetType(Object* object, void*);
95 static Object* ScriptGetCompilationType(Object* object, void*); 96 static Object* ScriptGetCompilationType(Object* object, void*);
96 static Object* ScriptGetLineEnds(Object* object, void*); 97 static Object* ScriptGetLineEnds(Object* object, void*);
97 static Object* ScriptGetContextData(Object* object, void*); 98 static Object* ScriptGetContextData(Object* object, void*);
98 static Object* ScriptGetEvalFromFunction(Object* object, void*); 99 static Object* ScriptGetEvalFromScript(Object* object, void*);
99 static Object* ScriptGetEvalFromPosition(Object* object, void*); 100 static Object* ScriptGetEvalFromScriptPosition(Object* object, void*);
101 static Object* ScriptGetEvalFromFunctionName(Object* object, void*);
100 static Object* ObjectGetPrototype(Object* receiver, void*); 102 static Object* ObjectGetPrototype(Object* receiver, void*);
101 static Object* ObjectSetPrototype(JSObject* receiver, Object* value, void*); 103 static Object* ObjectSetPrototype(JSObject* receiver, Object* value, void*);
102 104
103 // Helper functions. 105 // Helper functions.
104 static Object* FlattenNumber(Object* value); 106 static Object* FlattenNumber(Object* value);
105 static Object* IllegalSetter(JSObject*, Object*, void*); 107 static Object* IllegalSetter(JSObject*, Object*, void*);
106 static Object* IllegalGetAccessor(Object* object, void*); 108 static Object* IllegalGetAccessor(Object* object, void*);
107 static Object* ReadOnlySetAccessor(JSObject*, Object* value, void*); 109 static Object* ReadOnlySetAccessor(JSObject*, Object* value, void*);
108 }; 110 };
109 111
110 } } // namespace v8::internal 112 } } // namespace v8::internal
111 113
112 #endif // V8_ACCESSORS_H_ 114 #endif // V8_ACCESSORS_H_
OLDNEW
« no previous file with comments | « no previous file | src/accessors.cc » ('j') | src/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698