Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::TraceStubInvocationScope Class Reference
Inheritance diagram for dart::TraceStubInvocationScope:
dart::ValueObject

Public Member Functions

 TraceStubInvocationScope ()
 
 ~TraceStubInvocationScope ()
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Detailed Description

Definition at line 37 of file type_testing_stubs_test.cc.

Constructor & Destructor Documentation

◆ TraceStubInvocationScope()

dart::TraceStubInvocationScope::TraceStubInvocationScope ( )
inline

Definition at line 39 of file type_testing_stubs_test.cc.

40 : old_trace_type_checks_(FLAG_trace_type_checks),
41 old_disassemble_stubs_(FLAG_disassemble_stubs) {
42 if (FLAG_trace_type_testing_stub_tests) {
43#if defined(DEBUG)
44 FLAG_trace_type_checks = true;
45#endif
46#if defined(FORCE_INCLUDE_DISASSEMBLER) || !defined(PRODUCT)
47 FLAG_disassemble_stubs = true;
48#endif
49 }
50 }

◆ ~TraceStubInvocationScope()

dart::TraceStubInvocationScope::~TraceStubInvocationScope ( )
inline

Definition at line 51 of file type_testing_stubs_test.cc.

51 {
52 if (FLAG_trace_type_testing_stub_tests) {
53#if defined(DEBUG)
54 FLAG_trace_type_checks = old_trace_type_checks_;
55#endif
56#if defined(FORCE_INCLUDE_DISASSEMBLER) || !defined(PRODUCT)
57 FLAG_disassemble_stubs = old_disassemble_stubs_;
58#endif
59 }
60 }

The documentation for this class was generated from the following file: