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/unicode.h" | 10 #include "src/unicode.h" |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 F(CreateListFromArrayLike, 1, 1) \ | 338 F(CreateListFromArrayLike, 1, 1) \ |
339 F(IncrementUseCounter, 1, 1) | 339 F(IncrementUseCounter, 1, 1) |
340 | 340 |
341 | 341 |
342 #define FOR_EACH_INTRINSIC_JSON(F) \ | 342 #define FOR_EACH_INTRINSIC_JSON(F) \ |
343 F(QuoteJSONString, 1, 1) \ | 343 F(QuoteJSONString, 1, 1) \ |
344 F(BasicJSONStringify, 1, 1) \ | 344 F(BasicJSONStringify, 1, 1) \ |
345 F(ParseJson, 1, 1) | 345 F(ParseJson, 1, 1) |
346 | 346 |
347 | 347 |
348 #define FOR_EACH_INTRINSIC_LITERALS(F) \ | 348 #define FOR_EACH_INTRINSIC_LITERALS(F) \ |
349 F(CreateRegExpLiteral, 4, 1) \ | 349 F(CreateRegExpLiteral, 4, 1) \ |
350 F(CreateObjectLiteral, 4, 1) \ | 350 F(CreateObjectLiteral, 4, 1) \ |
351 F(CreateArrayLiteral, 4, 1) \ | 351 F(CreateArrayLiteral, 4, 1) \ |
352 F(CreateArrayLiteralStubBailout, 3, 1) \ | 352 F(CreateArrayLiteralStubBailout, 3, 1) |
353 F(StoreArrayLiteralElement, 5, 1) | |
354 | 353 |
355 | 354 |
356 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \ | 355 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \ |
357 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ | 356 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ |
358 F(LiveEditGatherCompileInfo, 2, 1) \ | 357 F(LiveEditGatherCompileInfo, 2, 1) \ |
359 F(LiveEditReplaceScript, 3, 1) \ | 358 F(LiveEditReplaceScript, 3, 1) \ |
360 F(LiveEditFunctionSourceUpdated, 1, 1) \ | 359 F(LiveEditFunctionSourceUpdated, 1, 1) \ |
361 F(LiveEditReplaceFunctionCode, 2, 1) \ | 360 F(LiveEditReplaceFunctionCode, 2, 1) \ |
362 F(LiveEditFunctionSetScript, 2, 1) \ | 361 F(LiveEditFunctionSetScript, 2, 1) \ |
363 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ | 362 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ |
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1225 | 1224 |
1226 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1225 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1227 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1226 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1228 STATIC_ASSERT(LANGUAGE_END == 3); | 1227 STATIC_ASSERT(LANGUAGE_END == 3); |
1229 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1228 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1230 | 1229 |
1231 } // namespace internal | 1230 } // namespace internal |
1232 } // namespace v8 | 1231 } // namespace v8 |
1233 | 1232 |
1234 #endif // V8_RUNTIME_RUNTIME_H_ | 1233 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |