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

Side by Side Diff: src/runtime.h

Issue 4248: Make sure that the body of the function created by calling Function is... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 12 years, 3 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 | « src/debug-delay.js ('k') | src/runtime.cc » ('j') | no next file with comments »
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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 F(NumberToRadixString, 2) \ 150 F(NumberToRadixString, 2) \
151 F(NumberToFixed, 2) \ 151 F(NumberToFixed, 2) \
152 F(NumberToExponential, 2) \ 152 F(NumberToExponential, 2) \
153 F(NumberToPrecision, 2) \ 153 F(NumberToPrecision, 2) \
154 \ 154 \
155 /* Reflection */ \ 155 /* Reflection */ \
156 F(FunctionSetInstanceClassName, 2) \ 156 F(FunctionSetInstanceClassName, 2) \
157 F(FunctionSetLength, 2) \ 157 F(FunctionSetLength, 2) \
158 F(FunctionSetPrototype, 2) \ 158 F(FunctionSetPrototype, 2) \
159 F(FunctionGetName, 1) \ 159 F(FunctionGetName, 1) \
160 F(FunctionSetName, 2) \
160 F(FunctionGetSourceCode, 1) \ 161 F(FunctionGetSourceCode, 1) \
161 F(FunctionGetScript, 1) \ 162 F(FunctionGetScript, 1) \
162 F(FunctionGetScriptSourcePosition, 1) \ 163 F(FunctionGetScriptSourcePosition, 1) \
163 F(GetScript, 1) \ 164 F(GetScript, 1) \
164 \ 165 \
165 F(ClassOf, 1) \ 166 F(ClassOf, 1) \
166 F(SetCode, 2) \ 167 F(SetCode, 2) \
167 \ 168 \
168 F(CreateApiFunction, 1) \ 169 F(CreateApiFunction, 1) \
169 F(IsTemplate, 1) \ 170 F(IsTemplate, 1) \
170 F(GetTemplateField, 2) \ 171 F(GetTemplateField, 2) \
171 \ 172 \
172 /* Dates */ \ 173 /* Dates */ \
173 F(DateCurrentTime, 0) \ 174 F(DateCurrentTime, 0) \
174 F(DateParseString, 1) \ 175 F(DateParseString, 1) \
175 F(DateLocalTimezone, 1) \ 176 F(DateLocalTimezone, 1) \
176 F(DateLocalTimeOffset, 0) \ 177 F(DateLocalTimeOffset, 0) \
177 F(DateDaylightSavingsOffset, 1) \ 178 F(DateDaylightSavingsOffset, 1) \
178 \ 179 \
179 /* Numbers */ \ 180 /* Numbers */ \
180 F(NumberIsFinite, 1) \ 181 F(NumberIsFinite, 1) \
181 \ 182 \
182 /* Globals */ \ 183 /* Globals */ \
183 F(CompileString, 2) \ 184 F(CompileString, 3) \
184 F(CompileScript, 4) \ 185 F(CompileScript, 4) \
185 F(GlobalPrint, 1) \ 186 F(GlobalPrint, 1) \
186 \ 187 \
187 /* Eval */ \ 188 /* Eval */ \
188 F(EvalReceiver, 1) \ 189 F(EvalReceiver, 1) \
189 \ 190 \
190 F(SetProperty, -1 /* 3 or 4 */) \ 191 F(SetProperty, -1 /* 3 or 4 */) \
191 F(IgnoreAttributesAndSetProperty, 3) \ 192 F(IgnoreAttributesAndSetProperty, 3) \
192 \ 193 \
193 /* Arrays */ \ 194 /* Arrays */ \
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 static Object* GetObjectProperty(Handle<Object> object, Handle<Object> key); 347 static Object* GetObjectProperty(Handle<Object> object, Handle<Object> key);
347 348
348 // Helper functions used stubs. 349 // Helper functions used stubs.
349 static void PerformGC(Object* result); 350 static void PerformGC(Object* result);
350 }; 351 };
351 352
352 353
353 } } // namespace v8::internal 354 } } // namespace v8::internal
354 355
355 #endif // V8_RUNTIME_H_ 356 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/debug-delay.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698