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

Side by Side Diff: src/runtime.h

Issue 118553003: Upgrade Symbol implementation to match current ES6 behavior. (Closed) Base URL: git://github.com/v8/v8.git@bleeding_edge
Patch Set: Fix fundamental issues surrounding Symbol values vs (wrapper) objects Created 6 years, 11 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
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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 \ 308 \
309 /* ES5 */ \ 309 /* ES5 */ \
310 F(ObjectFreeze, 1, 1) \ 310 F(ObjectFreeze, 1, 1) \
311 \ 311 \
312 /* Harmony modules */ \ 312 /* Harmony modules */ \
313 F(IsJSModule, 1, 1) \ 313 F(IsJSModule, 1, 1) \
314 \ 314 \
315 /* Harmony symbols */ \ 315 /* Harmony symbols */ \
316 F(CreateSymbol, 1, 1) \ 316 F(CreateSymbol, 1, 1) \
317 F(CreatePrivateSymbol, 1, 1) \ 317 F(CreatePrivateSymbol, 1, 1) \
318 F(SymbolName, 1, 1) \ 318 F(NewSymbolWrapper, 1, 1) \
319 F(SymbolDescription, 1, 1) \
319 F(SymbolIsPrivate, 1, 1) \ 320 F(SymbolIsPrivate, 1, 1) \
320 \ 321 \
321 /* Harmony proxies */ \ 322 /* Harmony proxies */ \
322 F(CreateJSProxy, 2, 1) \ 323 F(CreateJSProxy, 2, 1) \
323 F(CreateJSFunctionProxy, 4, 1) \ 324 F(CreateJSFunctionProxy, 4, 1) \
324 F(IsJSProxy, 1, 1) \ 325 F(IsJSProxy, 1, 1) \
325 F(IsJSFunctionProxy, 1, 1) \ 326 F(IsJSFunctionProxy, 1, 1) \
326 F(GetHandler, 1, 1) \ 327 F(GetHandler, 1, 1) \
327 F(GetCallTrap, 1, 1) \ 328 F(GetCallTrap, 1, 1) \
328 F(GetConstructTrap, 1, 1) \ 329 F(GetConstructTrap, 1, 1) \
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 864 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
864 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 865 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
865 866
866 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 867 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
867 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 868 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
868 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 869 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
869 870
870 } } // namespace v8::internal 871 } } // namespace v8::internal
871 872
872 #endif // V8_RUNTIME_H_ 873 #endif // V8_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698