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

Side by Side Diff: src/runtime.h

Issue 475423003: Implement Function.prototype.toMethod. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove stray change Created 6 years, 4 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
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_H_ 5 #ifndef V8_RUNTIME_H_
6 #define V8_RUNTIME_H_ 6 #define V8_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/zone.h" 9 #include "src/zone.h"
10 10
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 F(StringToArray, 2, 1) \ 172 F(StringToArray, 2, 1) \
173 F(NewStringWrapper, 1, 1) \ 173 F(NewStringWrapper, 1, 1) \
174 F(NewString, 2, 1) \ 174 F(NewString, 2, 1) \
175 F(TruncateString, 2, 1) \ 175 F(TruncateString, 2, 1) \
176 \ 176 \
177 /* Numbers */ \ 177 /* Numbers */ \
178 F(NumberToRadixString, 2, 1) \ 178 F(NumberToRadixString, 2, 1) \
179 F(NumberToFixed, 2, 1) \ 179 F(NumberToFixed, 2, 1) \
180 F(NumberToExponential, 2, 1) \ 180 F(NumberToExponential, 2, 1) \
181 F(NumberToPrecision, 2, 1) \ 181 F(NumberToPrecision, 2, 1) \
182 F(IsValidSmi, 1, 1) 182 F(IsValidSmi, 1, 1) \
183 \
184 /* Classes support */ \
185 F(ToMethod, 2, 1) \
186 F(HomeObjectSymbol, 0, 1)
183 187
184 188
185 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ 189 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \
186 /* Reflection */ \ 190 /* Reflection */ \
187 F(FunctionSetInstanceClassName, 2, 1) \ 191 F(FunctionSetInstanceClassName, 2, 1) \
188 F(FunctionSetLength, 2, 1) \ 192 F(FunctionSetLength, 2, 1) \
189 F(FunctionSetPrototype, 2, 1) \ 193 F(FunctionSetPrototype, 2, 1) \
190 F(FunctionGetName, 1, 1) \ 194 F(FunctionGetName, 1, 1) \
191 F(FunctionSetName, 2, 1) \ 195 F(FunctionSetName, 2, 1) \
192 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ 196 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 904 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
901 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 905 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
902 906
903 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 907 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
904 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 908 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
905 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; 909 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
906 910
907 } } // namespace v8::internal 911 } } // namespace v8::internal
908 912
909 #endif // V8_RUNTIME_H_ 913 #endif // V8_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698