#include <options_stack.h>

Public Member Functions | |
| OPTIONS_STACK (MEM_POOL *pool) | |
| ~OPTIONS_STACK (void) | |
| void | Init (void) |
| void | Push_Current_Options (void) |
| void | Pop_Current_Options (void) |
| void | Process_Pragma_Options (char *) |
Private Member Functions | |
| BOOL | Trace (void) const |
| INT32 | str2argv (char *, char ***, MEM_POOL *) |
Private Attributes | |
| BOOL | _trace |
| STACK< char * > | _options_stack |
Definition at line 56 of file options_stack.h.
| OPTIONS_STACK::OPTIONS_STACK | ( | MEM_POOL * | pool | ) | [inline] |
Definition at line 65 of file options_stack.h.
References _options_stack, _trace, STACK< T >::Clear(), Get_Trace(), Is_Trace, TFile, TP_MISC, and Trace().

| OPTIONS_STACK::~OPTIONS_STACK | ( | void | ) | [inline] |
Definition at line 70 of file options_stack.h.
| void OPTIONS_STACK::Init | ( | void | ) | [inline] |
Definition at line 73 of file options_stack.h.
| void OPTIONS_STACK::Pop_Current_Options | ( | void | ) |
Definition at line 91 of file options_stack.cxx.
References _options_stack, CXX_DELETE_ARRAY, STACK< T >::Elements(), FALSE, Is_Trace, MEM_pu_nz_pool, OPTIONS_SIZE, STACK< T >::Pop(), Save_or_restore_options(), TFile, STACK< T >::Top(), and Trace().
Referenced by Do_WOPT_and_CG_with_Regions().

| void OPTIONS_STACK::Process_Pragma_Options | ( | char * | options_string | ) |
Definition at line 162 of file options_stack.cxx.
References Common_Option_Groups, FALSE, Get_Command_Line_Group(), Is_Trace, Is_True, MEM_POOL_Initialize, MEM_POOL_Pop, MEM_POOL_Push, NULL, Process_Command_Line(), Push_Current_Options(), str2argv(), TFile, Trace(), and Trace_Command_Line_Group().
Referenced by Do_WOPT_and_CG_with_Regions().

| void OPTIONS_STACK::Push_Current_Options | ( | void | ) |
Definition at line 71 of file options_stack.cxx.
References _options_stack, CXX_NEW_ARRAY, STACK< T >::Elements(), Is_Trace, MEM_pu_nz_pool, OPTIONS_SIZE, STACK< T >::Push(), Save_or_restore_options(), TFile, Trace(), and TRUE.
Referenced by main(), and Process_Pragma_Options().

Definition at line 113 of file options_stack.cxx.
References CXX_NEW_ARRAY, fprintf(), len, TFile, and Trace().
Referenced by Process_Pragma_Options().

| BOOL OPTIONS_STACK::Trace | ( | void | ) | const [inline, private] |
Definition at line 61 of file options_stack.h.
References _trace.
Referenced by OPTIONS_STACK(), Pop_Current_Options(), Process_Pragma_Options(), Push_Current_Options(), and str2argv().
STACK<char *> OPTIONS_STACK::_options_stack [private] |
Definition at line 59 of file options_stack.h.
Referenced by OPTIONS_STACK(), Pop_Current_Options(), and Push_Current_Options().
BOOL OPTIONS_STACK::_trace [private] |
Definition at line 58 of file options_stack.h.
Referenced by OPTIONS_STACK(), and Trace().
1.7.1