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

Side by Side Diff: src/runtime.h

Issue 203243004: Implement ES6 symbol registry and predefined symbols (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed bug Created 6 years, 9 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/messages.js ('k') | src/runtime.cc » ('j') | src/symbol.js » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 F(GetMicrotaskState, 0, 1) \ 307 F(GetMicrotaskState, 0, 1) \
308 \ 308 \
309 /* Harmony modules */ \ 309 /* Harmony modules */ \
310 F(IsJSModule, 1, 1) \ 310 F(IsJSModule, 1, 1) \
311 \ 311 \
312 /* Harmony symbols */ \ 312 /* Harmony symbols */ \
313 F(CreateSymbol, 1, 1) \ 313 F(CreateSymbol, 1, 1) \
314 F(CreatePrivateSymbol, 1, 1) \ 314 F(CreatePrivateSymbol, 1, 1) \
315 F(NewSymbolWrapper, 1, 1) \ 315 F(NewSymbolWrapper, 1, 1) \
316 F(SymbolDescription, 1, 1) \ 316 F(SymbolDescription, 1, 1) \
317 F(SymbolRegistry, 0, 1) \
317 F(SymbolIsPrivate, 1, 1) \ 318 F(SymbolIsPrivate, 1, 1) \
318 \ 319 \
319 /* Harmony proxies */ \ 320 /* Harmony proxies */ \
320 F(CreateJSProxy, 2, 1) \ 321 F(CreateJSProxy, 2, 1) \
321 F(CreateJSFunctionProxy, 4, 1) \ 322 F(CreateJSFunctionProxy, 4, 1) \
322 F(IsJSProxy, 1, 1) \ 323 F(IsJSProxy, 1, 1) \
323 F(IsJSFunctionProxy, 1, 1) \ 324 F(IsJSFunctionProxy, 1, 1) \
324 F(GetHandler, 1, 1) \ 325 F(GetHandler, 1, 1) \
325 F(GetCallTrap, 1, 1) \ 326 F(GetCallTrap, 1, 1) \
326 F(GetConstructTrap, 1, 1) \ 327 F(GetConstructTrap, 1, 1) \
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
869 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 870 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
870 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 871 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
871 872
872 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 873 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
873 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 874 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
874 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; 875 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
875 876
876 } } // namespace v8::internal 877 } } // namespace v8::internal
877 878
878 #endif // V8_RUNTIME_H_ 879 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/messages.js ('k') | src/runtime.cc » ('j') | src/symbol.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698