OLD | NEW |
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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 F(CollectStackTrace, 2, 1) \ | 225 F(CollectStackTrace, 2, 1) \ |
226 F(GetV8Version, 0, 1) \ | 226 F(GetV8Version, 0, 1) \ |
227 F(GeneratorGetFunction, 1, 1) \ | 227 F(GeneratorGetFunction, 1, 1) \ |
228 F(GeneratorGetContext, 1, 1) \ | 228 F(GeneratorGetContext, 1, 1) \ |
229 F(GeneratorGetReceiver, 1, 1) \ | 229 F(GeneratorGetReceiver, 1, 1) \ |
230 F(GeneratorGetContinuation, 1, 1) \ | 230 F(GeneratorGetContinuation, 1, 1) \ |
231 F(GeneratorGetSourcePosition, 1, 1) \ | 231 F(GeneratorGetSourcePosition, 1, 1) \ |
232 \ | 232 \ |
233 F(SetCode, 2, 1) \ | 233 F(SetCode, 2, 1) \ |
234 \ | 234 \ |
235 F(CreateApiFunction, 2, 1) \ | |
236 F(IsTemplate, 1, 1) \ | |
237 F(GetTemplateField, 2, 1) \ | |
238 F(DisableAccessChecks, 1, 1) \ | 235 F(DisableAccessChecks, 1, 1) \ |
239 F(EnableAccessChecks, 1, 1) \ | 236 F(EnableAccessChecks, 1, 1) \ |
240 \ | 237 \ |
241 /* Dates */ \ | 238 /* Dates */ \ |
242 F(DateCurrentTime, 0, 1) \ | 239 F(DateCurrentTime, 0, 1) \ |
243 F(DateParseString, 2, 1) \ | 240 F(DateParseString, 2, 1) \ |
244 F(DateLocalTimezone, 1, 1) \ | 241 F(DateLocalTimezone, 1, 1) \ |
245 F(DateToUTC, 1, 1) \ | 242 F(DateToUTC, 1, 1) \ |
246 F(DateMakeDay, 2, 1) \ | 243 F(DateMakeDay, 2, 1) \ |
247 F(DateSetValue, 3, 1) \ | 244 F(DateSetValue, 3, 1) \ |
248 F(DateCacheVersion, 0, 1) \ | 245 F(DateCacheVersion, 0, 1) \ |
249 \ | 246 \ |
250 /* Globals */ \ | 247 /* Globals */ \ |
251 F(CompileString, 3, 1) \ | 248 F(CompileString, 3, 1) \ |
252 \ | 249 \ |
253 /* Eval */ \ | 250 /* Eval */ \ |
254 F(GlobalProxy, 1, 1) \ | 251 F(GlobalProxy, 1, 1) \ |
255 \ | 252 \ |
256 F(AddNamedProperty, 4, 1) \ | 253 F(AddNamedProperty, 4, 1) \ |
257 F(AddPropertyForTemplate, 4, 1) \ | |
258 F(SetProperty, 4, 1) \ | 254 F(SetProperty, 4, 1) \ |
259 F(AddElement, 4, 1) \ | 255 F(AddElement, 4, 1) \ |
260 F(DefineApiAccessorProperty, 5, 1) \ | |
261 F(DefineDataPropertyUnchecked, 4, 1) \ | 256 F(DefineDataPropertyUnchecked, 4, 1) \ |
262 F(DefineAccessorPropertyUnchecked, 5, 1) \ | 257 F(DefineAccessorPropertyUnchecked, 5, 1) \ |
263 F(GetDataProperty, 2, 1) \ | 258 F(GetDataProperty, 2, 1) \ |
264 F(DefineGetterPropertyUnchecked, 3, 1) \ | 259 F(DefineGetterPropertyUnchecked, 3, 1) \ |
265 F(DefineSetterPropertyUnchecked, 3, 1) \ | 260 F(DefineSetterPropertyUnchecked, 3, 1) \ |
266 \ | 261 \ |
267 /* Arrays */ \ | 262 /* Arrays */ \ |
268 F(RemoveArrayHoles, 2, 1) \ | 263 F(RemoveArrayHoles, 2, 1) \ |
269 F(GetArrayKeys, 2, 1) \ | 264 F(GetArrayKeys, 2, 1) \ |
270 F(MoveArrayContents, 2, 1) \ | 265 F(MoveArrayContents, 2, 1) \ |
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
891 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; | 886 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; |
892 | 887 |
893 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 888 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
894 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 889 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
895 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; | 890 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; |
896 | 891 |
897 } // namespace internal | 892 } // namespace internal |
898 } // namespace v8 | 893 } // namespace v8 |
899 | 894 |
900 #endif // V8_RUNTIME_RUNTIME_H_ | 895 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |