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

Side by Side Diff: src/runtime/runtime.h

Issue 701093003: Correctly compute line numbers in functions from the function constructor. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 203
204 204
205 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ 205 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \
206 /* Reflection */ \ 206 /* Reflection */ \
207 F(FunctionSetInstanceClassName, 2, 1) \ 207 F(FunctionSetInstanceClassName, 2, 1) \
208 F(FunctionSetLength, 2, 1) \ 208 F(FunctionSetLength, 2, 1) \
209 F(FunctionSetPrototype, 2, 1) \ 209 F(FunctionSetPrototype, 2, 1) \
210 F(FunctionGetName, 1, 1) \ 210 F(FunctionGetName, 1, 1) \
211 F(FunctionSetName, 2, 1) \ 211 F(FunctionSetName, 2, 1) \
212 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ 212 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \
213 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \
214 F(FunctionIsGenerator, 1, 1) \ 213 F(FunctionIsGenerator, 1, 1) \
215 F(FunctionIsArrow, 1, 1) \ 214 F(FunctionIsArrow, 1, 1) \
216 F(FunctionIsConciseMethod, 1, 1) \ 215 F(FunctionIsConciseMethod, 1, 1) \
217 F(FunctionBindArguments, 4, 1) \ 216 F(FunctionBindArguments, 4, 1) \
218 F(BoundFunctionGetBindings, 1, 1) \ 217 F(BoundFunctionGetBindings, 1, 1) \
219 F(FunctionRemovePrototype, 1, 1) \ 218 F(FunctionRemovePrototype, 1, 1) \
220 F(FunctionGetSourceCode, 1, 1) \ 219 F(FunctionGetSourceCode, 1, 1) \
221 F(FunctionGetScript, 1, 1) \ 220 F(FunctionGetScript, 1, 1) \
222 F(FunctionGetScriptSourcePosition, 1, 1) \ 221 F(FunctionGetScriptSourcePosition, 1, 1) \
223 F(FunctionGetPositionForOffset, 2, 1) \ 222 F(FunctionGetPositionForOffset, 2, 1) \
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; 883 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {};
885 884
886 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 885 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
887 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 886 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
888 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; 887 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {};
889 888
890 } // namespace internal 889 } // namespace internal
891 } // namespace v8 890 } // namespace v8
892 891
893 #endif // V8_RUNTIME_RUNTIME_H_ 892 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/runtime/runtime-function.cc » ('j') | src/v8natives.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698