OLD | NEW |
---|---|
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 Loading... | |
307 \ | 307 \ |
308 /* ES5 */ \ | 308 /* ES5 */ \ |
309 F(ObjectFreeze, 1, 1) \ | 309 F(ObjectFreeze, 1, 1) \ |
310 \ | 310 \ |
311 /* Harmony modules */ \ | 311 /* Harmony modules */ \ |
312 F(IsJSModule, 1, 1) \ | 312 F(IsJSModule, 1, 1) \ |
313 \ | 313 \ |
314 /* Harmony symbols */ \ | 314 /* Harmony symbols */ \ |
315 F(CreateSymbol, 1, 1) \ | 315 F(CreateSymbol, 1, 1) \ |
316 F(CreatePrivateSymbol, 1, 1) \ | 316 F(CreatePrivateSymbol, 1, 1) \ |
317 F(SymbolName, 1, 1) \ | 317 F(NewSymbolWrapper, 1, 1) \ |
rossberg
2014/02/14 10:55:30
Seems like this runtime function has become obsole
sof
2014/02/14 14:20:02
I don't understand; it's called by ToObject() to c
rossberg
2014/02/18 17:05:58
Ah, sorry, I missed that. But can't we use Object(
| |
318 F(SymbolDescription, 1, 1) \ | |
318 F(SymbolIsPrivate, 1, 1) \ | 319 F(SymbolIsPrivate, 1, 1) \ |
319 \ | 320 \ |
320 /* Harmony proxies */ \ | 321 /* Harmony proxies */ \ |
321 F(CreateJSProxy, 2, 1) \ | 322 F(CreateJSProxy, 2, 1) \ |
322 F(CreateJSFunctionProxy, 4, 1) \ | 323 F(CreateJSFunctionProxy, 4, 1) \ |
323 F(IsJSProxy, 1, 1) \ | 324 F(IsJSProxy, 1, 1) \ |
324 F(IsJSFunctionProxy, 1, 1) \ | 325 F(IsJSFunctionProxy, 1, 1) \ |
325 F(GetHandler, 1, 1) \ | 326 F(GetHandler, 1, 1) \ |
326 F(GetCallTrap, 1, 1) \ | 327 F(GetCallTrap, 1, 1) \ |
327 F(GetConstructTrap, 1, 1) \ | 328 F(GetConstructTrap, 1, 1) \ |
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
864 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 865 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
865 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 866 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
866 | 867 |
867 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 868 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
868 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 869 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
869 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 870 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
870 | 871 |
871 } } // namespace v8::internal | 872 } } // namespace v8::internal |
872 | 873 |
873 #endif // V8_RUNTIME_H_ | 874 #endif // V8_RUNTIME_H_ |
OLD | NEW |