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

Side by Side Diff: src/runtime/runtime.h

Issue 1005053004: Debugger: remove unused JS Debugger API. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 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
« no previous file with comments | « src/debug-debugger.js ('k') | src/runtime/runtime-debug.cc » ('j') | no next file with comments »
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 // 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/zone.h" 10 #include "src/zone.h"
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 F(HasFixedUint8Elements, 1, 1) \ 413 F(HasFixedUint8Elements, 1, 1) \
414 F(HasFixedInt16Elements, 1, 1) \ 414 F(HasFixedInt16Elements, 1, 1) \
415 F(HasFixedUint16Elements, 1, 1) \ 415 F(HasFixedUint16Elements, 1, 1) \
416 F(HasFixedInt32Elements, 1, 1) \ 416 F(HasFixedInt32Elements, 1, 1) \
417 F(HasFixedUint32Elements, 1, 1) \ 417 F(HasFixedUint32Elements, 1, 1) \
418 F(HasFixedFloat32Elements, 1, 1) \ 418 F(HasFixedFloat32Elements, 1, 1) \
419 F(HasFixedFloat64Elements, 1, 1) \ 419 F(HasFixedFloat64Elements, 1, 1) \
420 F(HasFastProperties, 1, 1) \ 420 F(HasFastProperties, 1, 1) \
421 F(TransitionElementsKind, 2, 1) \ 421 F(TransitionElementsKind, 2, 1) \
422 F(HaveSameMap, 2, 1) \ 422 F(HaveSameMap, 2, 1) \
423 F(DisassembleFunction, 1, 1) \
423 F(IsJSGlobalProxy, 1, 1) \ 424 F(IsJSGlobalProxy, 1, 1) \
424 F(ForInCacheArrayLength, 2, 1) /* TODO(turbofan): Only temporary */ 425 F(ForInCacheArrayLength, 2, 1) /* TODO(turbofan): Only temporary */
425 426
426 427
427 #define RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \ 428 #define RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \
428 /* String and Regexp */ \ 429 /* String and Regexp */ \
429 F(NumberToStringRT, 1, 1) \ 430 F(NumberToStringRT, 1, 1) \
430 F(RegExpConstructResultRT, 3, 1) \ 431 F(RegExpConstructResultRT, 3, 1) \
431 F(StringAddRT, 2, 1) \ 432 F(StringAddRT, 2, 1) \
432 F(SubStringRT, 3, 1) \ 433 F(SubStringRT, 3, 1) \
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 F(LoadLookupSlotNoReferenceError, 2, 2) \ 516 F(LoadLookupSlotNoReferenceError, 2, 2) \
516 F(ResolvePossiblyDirectEval, 6, 2) \ 517 F(ResolvePossiblyDirectEval, 6, 2) \
517 F(ForInInit, 2, 2) /* TODO(turbofan): Only temporary */ \ 518 F(ForInInit, 2, 2) /* TODO(turbofan): Only temporary */ \
518 F(ForInNext, 4, 2) /* TODO(turbofan): Only temporary */ 519 F(ForInNext, 4, 2) /* TODO(turbofan): Only temporary */
519 520
520 521
521 #define RUNTIME_FUNCTION_LIST_DEBUGGER(F) \ 522 #define RUNTIME_FUNCTION_LIST_DEBUGGER(F) \
522 /* Debugger support*/ \ 523 /* Debugger support*/ \
523 F(DebugBreak, 0, 1) \ 524 F(DebugBreak, 0, 1) \
524 F(SetDebugEventListener, 2, 1) \ 525 F(SetDebugEventListener, 2, 1) \
525 F(Break, 0, 1) \ 526 F(ScheduleBreak, 0, 1) \
526 F(DebugGetPropertyDetails, 2, 1) \ 527 F(DebugGetPropertyDetails, 2, 1) \
527 F(DebugGetProperty, 2, 1) \ 528 F(DebugGetProperty, 2, 1) \
528 F(DebugPropertyTypeFromDetails, 1, 1) \ 529 F(DebugPropertyTypeFromDetails, 1, 1) \
529 F(DebugPropertyAttributesFromDetails, 1, 1) \ 530 F(DebugPropertyAttributesFromDetails, 1, 1) \
530 F(DebugPropertyIndexFromDetails, 1, 1) \ 531 F(DebugPropertyIndexFromDetails, 1, 1) \
531 F(DebugNamedInterceptorPropertyValue, 2, 1) \ 532 F(DebugNamedInterceptorPropertyValue, 2, 1) \
532 F(DebugIndexedInterceptorElementValue, 2, 1) \ 533 F(DebugIndexedInterceptorElementValue, 2, 1) \
533 F(CheckExecutionState, 1, 1) \ 534 F(CheckExecutionState, 1, 1) \
534 F(GetFrameCount, 1, 1) \ 535 F(GetFrameCount, 1, 1) \
535 F(GetFrameDetails, 2, 1) \ 536 F(GetFrameDetails, 2, 1) \
(...skipping 18 matching lines...) Expand all
554 F(ClearStepping, 0, 1) \ 555 F(ClearStepping, 0, 1) \
555 F(DebugEvaluate, 6, 1) \ 556 F(DebugEvaluate, 6, 1) \
556 F(DebugEvaluateGlobal, 4, 1) \ 557 F(DebugEvaluateGlobal, 4, 1) \
557 F(DebugGetLoadedScripts, 0, 1) \ 558 F(DebugGetLoadedScripts, 0, 1) \
558 F(DebugReferencedBy, 3, 1) \ 559 F(DebugReferencedBy, 3, 1) \
559 F(DebugConstructedBy, 2, 1) \ 560 F(DebugConstructedBy, 2, 1) \
560 F(DebugGetPrototype, 1, 1) \ 561 F(DebugGetPrototype, 1, 1) \
561 F(DebugSetScriptSource, 2, 1) \ 562 F(DebugSetScriptSource, 2, 1) \
562 F(DebugCallbackSupportsStepping, 1, 1) \ 563 F(DebugCallbackSupportsStepping, 1, 1) \
563 F(SystemBreak, 0, 1) \ 564 F(SystemBreak, 0, 1) \
564 F(DebugDisassembleFunction, 1, 1) \
565 F(DebugDisassembleConstructor, 1, 1) \
566 F(FunctionGetInferredName, 1, 1) \ 565 F(FunctionGetInferredName, 1, 1) \
567 F(FunctionGetDebugName, 1, 1) \ 566 F(FunctionGetDebugName, 1, 1) \
568 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ 567 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \
569 F(LiveEditGatherCompileInfo, 2, 1) \ 568 F(LiveEditGatherCompileInfo, 2, 1) \
570 F(LiveEditReplaceScript, 3, 1) \ 569 F(LiveEditReplaceScript, 3, 1) \
571 F(LiveEditReplaceFunctionCode, 2, 1) \ 570 F(LiveEditReplaceFunctionCode, 2, 1) \
572 F(LiveEditFunctionSourceUpdated, 1, 1) \ 571 F(LiveEditFunctionSourceUpdated, 1, 1) \
573 F(LiveEditFunctionSetScript, 2, 1) \ 572 F(LiveEditFunctionSetScript, 2, 1) \
574 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ 573 F(LiveEditReplaceRefToNestedFunction, 3, 1) \
575 F(LiveEditPatchFunctionPositions, 2, 1) \ 574 F(LiveEditPatchFunctionPositions, 2, 1) \
576 F(LiveEditCheckAndDropActivations, 2, 1) \ 575 F(LiveEditCheckAndDropActivations, 2, 1) \
577 F(LiveEditCompareStrings, 2, 1) \ 576 F(LiveEditCompareStrings, 2, 1) \
578 F(LiveEditRestartFrame, 2, 1) \ 577 F(LiveEditRestartFrame, 2, 1) \
579 F(GetFunctionCodePositionFromSource, 2, 1) \ 578 F(GetFunctionCodePositionFromSource, 2, 1) \
580 F(ExecuteInDebugContext, 2, 1) \ 579 F(ExecuteInDebugContext, 1, 1) \
581 \ 580 \
582 F(SetFlags, 1, 1) \ 581 F(SetFlags, 1, 1) \
583 F(CollectGarbage, 1, 1) \ 582 F(CollectGarbage, 1, 1) \
584 F(GetHeapUsage, 0, 1) 583 F(GetHeapUsage, 0, 1)
585 584
586 585
587 #ifdef V8_I18N_SUPPORT 586 #ifdef V8_I18N_SUPPORT
588 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \ 587 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \
589 /* i18n support */ \ 588 /* i18n support */ \
590 /* Standalone, helper methods. */ \ 589 /* Standalone, helper methods. */ \
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 901
903 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 902 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
904 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 903 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
905 STATIC_ASSERT(LANGUAGE_END == 3); 904 STATIC_ASSERT(LANGUAGE_END == 3);
906 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 905 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
907 906
908 } // namespace internal 907 } // namespace internal
909 } // namespace v8 908 } // namespace v8
910 909
911 #endif // V8_RUNTIME_RUNTIME_H_ 910 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/debug-debugger.js ('k') | src/runtime/runtime-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698