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

Side by Side Diff: src/runtime.h

Issue 7324027: Fix: FunctionTemplate::SetPrototypeAttributes broke prototype object (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: address comments Created 9 years, 5 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/objects-inl.h ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 F(NumberToRadixString, 2, 1) \ 203 F(NumberToRadixString, 2, 1) \
204 F(NumberToFixed, 2, 1) \ 204 F(NumberToFixed, 2, 1) \
205 F(NumberToExponential, 2, 1) \ 205 F(NumberToExponential, 2, 1) \
206 F(NumberToPrecision, 2, 1) 206 F(NumberToPrecision, 2, 1)
207 207
208 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ 208 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \
209 /* Reflection */ \ 209 /* Reflection */ \
210 F(FunctionSetInstanceClassName, 2, 1) \ 210 F(FunctionSetInstanceClassName, 2, 1) \
211 F(FunctionSetLength, 2, 1) \ 211 F(FunctionSetLength, 2, 1) \
212 F(FunctionSetPrototype, 2, 1) \ 212 F(FunctionSetPrototype, 2, 1) \
213 F(FunctionSetReadOnlyPrototype, 1, 1) \
213 F(FunctionGetName, 1, 1) \ 214 F(FunctionGetName, 1, 1) \
214 F(FunctionSetName, 2, 1) \ 215 F(FunctionSetName, 2, 1) \
215 F(FunctionSetBound, 1, 1) \ 216 F(FunctionSetBound, 1, 1) \
216 F(FunctionRemovePrototype, 1, 1) \ 217 F(FunctionRemovePrototype, 1, 1) \
217 F(FunctionGetSourceCode, 1, 1) \ 218 F(FunctionGetSourceCode, 1, 1) \
218 F(FunctionGetScript, 1, 1) \ 219 F(FunctionGetScript, 1, 1) \
219 F(FunctionGetScriptSourcePosition, 1, 1) \ 220 F(FunctionGetScriptSourcePosition, 1, 1) \
220 F(FunctionGetPositionForOffset, 2, 1) \ 221 F(FunctionGetPositionForOffset, 2, 1) \
221 F(FunctionIsAPIFunction, 1, 1) \ 222 F(FunctionIsAPIFunction, 1, 1) \
222 F(FunctionIsBuiltin, 1, 1) \ 223 F(FunctionIsBuiltin, 1, 1) \
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 Handle<Script> script, 650 Handle<Script> script,
650 int position); 651 int position);
651 652
652 // Helper functions used stubs. 653 // Helper functions used stubs.
653 static void PerformGC(Object* result); 654 static void PerformGC(Object* result);
654 }; 655 };
655 656
656 } } // namespace v8::internal 657 } } // namespace v8::internal
657 658
658 #endif // V8_RUNTIME_H_ 659 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698