Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'agent/tcf/services/vm.h')
-rw-r--r--agent/tcf/services/vm.h32
1 files changed, 1 insertions, 31 deletions
diff --git a/agent/tcf/services/vm.h b/agent/tcf/services/vm.h
index b541c511..f174b03b 100644
--- a/agent/tcf/services/vm.h
+++ b/agent/tcf/services/vm.h
@@ -23,37 +23,7 @@
#include <tcf/framework/context.h>
-typedef struct VMState {
- /* Evaluation context */
- Context * ctx;
- int stack_frame;
- int big_endian;
- size_t addr_size;
- uint64_t object_address;
- RegisterIdScope reg_id_scope;
-
- /* Code to execute */
- uint8_t * code;
- size_t code_pos;
- size_t code_len;
-
- /* VM callback */
- void (*client_op)(uint8_t op);
-
- /* Result */
- RegisterDefinition * reg;
- void * value_addr;
- size_t value_size;
- uint32_t piece_offs;
- uint32_t piece_bits;
-
- /* Stack */
- unsigned stk_pos;
- unsigned stk_max;
- uint64_t * stk;
-} VMState;
-
-extern int evaluate_vm_expression(VMState * state);
+extern int evaluate_vm_expression(LocationExpressionState * state);
#endif /* ENABLE_DebugContext */

Back to the top