Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
ddf41c20
Commit
ddf41c20
authored
19 years ago
by
Martin Nilsson
Browse files
Options
Downloads
Patches
Plain Diff
More doxygen experiments
Rev: src/interpret.h:1.163
parent
67c9c976
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/interpret.h
+18
-18
18 additions, 18 deletions
src/interpret.h
with
18 additions
and
18 deletions
src/interpret.h
+
18
−
18
View file @
ddf41c20
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
|| This file is part of Pike. For copyright information see COPYRIGHT.
|| This file is part of Pike. For copyright information see COPYRIGHT.
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| for more information.
|| for more information.
|| $Id: interpret.h,v 1.16
2
2005/0
6
/2
0 12:51:45 grubba
Exp $
|| $Id: interpret.h,v 1.16
3
2005/0
7
/2
2 21:46:33 nilsson
Exp $
*/
*/
#ifndef INTERPRET_H
#ifndef INTERPRET_H
...
@@ -34,8 +34,8 @@ struct Pike_interpreter {
...
@@ -34,8 +34,8 @@ struct Pike_interpreter {
int
c_stack_margin
;
int
c_stack_margin
;
#ifdef PROFILING
#ifdef PROFILING
cpu_time_t
accounted_time
;
/* Time spent and accounted for so far. */
cpu_time_t
accounted_time
;
/*
*
Time spent and accounted for so far. */
cpu_time_t
unlocked_time
;
/* Time spent unlocked so far. */
cpu_time_t
unlocked_time
;
/*
*
Time spent unlocked so far. */
char
*
stack_bottom
;
char
*
stack_bottom
;
#endif
#endif
...
@@ -48,26 +48,26 @@ struct Pike_interpreter {
...
@@ -48,26 +48,26 @@ struct Pike_interpreter {
struct
pike_frame
struct
pike_frame
{
{
INT32
refs
;
/* must be first */
INT32
refs
;
/* must be first */
INT32
args
;
/* Actual number of arguments. */
INT32
args
;
/*
*
Actual number of arguments. */
unsigned
INT16
fun
;
/* Function number. */
unsigned
INT16
fun
;
/*
*
Function number. */
INT16
num_locals
;
/* Number of local variables. */
INT16
num_locals
;
/*
*
Number of local variables. */
INT16
num_args
;
/* Number of argument variables. */
INT16
num_args
;
/*
*
Number of argument variables. */
unsigned
INT16
flags
;
/* PIKE_FRAME_* */
unsigned
INT16
flags
;
/*
*
PIKE_FRAME_* */
INT16
ident
;
INT16
ident
;
struct
pike_frame
*
next
;
struct
pike_frame
*
next
;
struct
pike_frame
*
scope
;
struct
pike_frame
*
scope
;
PIKE_OPCODE_T
*
pc
;
/* Address of current opcode. */
PIKE_OPCODE_T
*
pc
;
/*
*
Address of current opcode. */
PIKE_OPCODE_T
*
return_addr
;
/* Address of opcode to continue at after call. */
PIKE_OPCODE_T
*
return_addr
;
/*
*
Address of opcode to continue at after call. */
struct
svalue
*
locals
;
/* Start of local variables. */
struct
svalue
*
locals
;
/*
*
Start of local variables. */
/*
This is <= locals, and this is where the
/*
*
This is <= locals, and this is where the
* return value should go.
* return value should go.
*/
*/
struct
svalue
*
save_sp
;
struct
svalue
*
save_sp
;
/*
This tells us the current level of
/*
*
* svalues on the stack that can
be discarded once the
*
This tells us the current level of
svalues on the stack that can
* current function is done with them
*
be discarded once the
current function is done with them
*/
*/
struct
svalue
*
expendible
;
struct
svalue
*
expendible
;
struct
svalue
**
save_mark_sp
;
struct
svalue
**
save_mark_sp
;
...
@@ -76,8 +76,8 @@ struct pike_frame
...
@@ -76,8 +76,8 @@ struct pike_frame
DO_IF_SECURITY
(
struct
object
*
current_creds
;)
DO_IF_SECURITY
(
struct
object
*
current_creds
;)
#if defined(PROFILING)
#if defined(PROFILING)
cpu_time_t
children_base
;
/* Accounted time when the frame started. */
cpu_time_t
children_base
;
/*
*
Accounted time when the frame started. */
cpu_time_t
start_time
;
/* Adjusted time when thr frame started. */
cpu_time_t
start_time
;
/*
*
Adjusted time when thr frame started. */
cpu_time_t
self_time_base
;
/* ??? */
cpu_time_t
self_time_base
;
/* ??? */
#endif
#endif
struct
inherit
context
;
struct
inherit
context
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment