| 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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 F(HasExternalIntElements, 1, 1) \ | 388 F(HasExternalIntElements, 1, 1) \ |
| 389 F(HasExternalUnsignedIntElements, 1, 1) \ | 389 F(HasExternalUnsignedIntElements, 1, 1) \ |
| 390 F(HasExternalFloatElements, 1, 1) \ | 390 F(HasExternalFloatElements, 1, 1) \ |
| 391 F(HasExternalDoubleElements, 1, 1) \ | 391 F(HasExternalDoubleElements, 1, 1) \ |
| 392 F(HasFastProperties, 1, 1) \ | 392 F(HasFastProperties, 1, 1) \ |
| 393 F(TransitionElementsSmiToDouble, 1, 1) \ | 393 F(TransitionElementsSmiToDouble, 1, 1) \ |
| 394 F(TransitionElementsDoubleToObject, 1, 1) \ | 394 F(TransitionElementsDoubleToObject, 1, 1) \ |
| 395 F(HaveSameMap, 2, 1) \ | 395 F(HaveSameMap, 2, 1) \ |
| 396 /* profiler */ \ | 396 /* profiler */ \ |
| 397 F(ProfilerResume, 0, 1) \ | 397 F(ProfilerResume, 0, 1) \ |
| 398 F(ProfilerPause, 0, 1) | 398 F(ProfilerPause, 0, 1) \ |
| 399 \ |
| 400 /* WebTech debug functions */ \ |
| 401 F(GetShortTermEvalCompilationCacheStatistics, 0, 1) \ |
| 402 F(ClearShortTermCompilationCache, 0, 1) |
| 399 | 403 |
| 400 | 404 |
| 401 #ifdef ENABLE_DEBUGGER_SUPPORT | 405 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 402 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ | 406 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ |
| 403 /* Debugger support*/ \ | 407 /* Debugger support*/ \ |
| 404 F(DebugBreak, 0, 1) \ | 408 F(DebugBreak, 0, 1) \ |
| 405 F(SetDebugEventListener, 2, 1) \ | 409 F(SetDebugEventListener, 2, 1) \ |
| 406 F(Break, 0, 1) \ | 410 F(Break, 0, 1) \ |
| 407 F(DebugGetPropertyDetails, 2, 1) \ | 411 F(DebugGetPropertyDetails, 2, 1) \ |
| 408 F(DebugGetProperty, 2, 1) \ | 412 F(DebugGetProperty, 2, 1) \ |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 703 //--------------------------------------------------------------------------- | 707 //--------------------------------------------------------------------------- |
| 704 // Constants used by interface to runtime functions. | 708 // Constants used by interface to runtime functions. |
| 705 | 709 |
| 706 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 710 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
| 707 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 711 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
| 708 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 712 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
| 709 | 713 |
| 710 } } // namespace v8::internal | 714 } } // namespace v8::internal |
| 711 | 715 |
| 712 #endif // V8_RUNTIME_H_ | 716 #endif // V8_RUNTIME_H_ |
| OLD | NEW |