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
b6a44ffd
Commit
b6a44ffd
authored
10 years ago
by
Martin Nilsson
Browse files
Options
Downloads
Patches
Plain Diff
Whitespace changes
parent
e16e5178
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pike_embed.c
+2
-15
2 additions, 15 deletions
src/pike_embed.c
with
2 additions
and
15 deletions
src/pike_embed.c
+
2
−
15
View file @
b6a44ffd
...
@@ -128,18 +128,16 @@ void init_pike(char **argv, const char *file)
...
@@ -128,18 +128,16 @@ void init_pike(char **argv, const char *file)
setvbuf
(
stderr
,
NULL
,
_IONBF
,
0
);
setvbuf
(
stderr
,
NULL
,
_IONBF
,
0
);
TRACE
((
stderr
,
"Init CPU lib...
\n
"
));
TRACE
((
stderr
,
"Init CPU lib...
\n
"
));
init_pike_cpulib
();
init_pike_cpulib
();
#ifdef TRY_USE_MMX
#ifdef TRY_USE_MMX
TRACE
((
stderr
,
"Init MMX...
\n
"
));
TRACE
((
stderr
,
"Init MMX...
\n
"
));
try_use_mmx
=
mmx_ok
();
try_use_mmx
=
mmx_ok
();
#endif
#endif
#ifdef OWN_GETHRTIME
#ifdef OWN_GETHRTIME
/* initialize our own gethrtime conversion /Mirar */
/* initialize our own gethrtime conversion /Mirar */
TRACE
((
stderr
,
"Init gethrtime...
\n
"
));
TRACE
((
stderr
,
"Init gethrtime...
\n
"
));
own_gethrtime_init
();
own_gethrtime_init
();
#endif
#endif
...
@@ -147,7 +145,6 @@ void init_pike(char **argv, const char *file)
...
@@ -147,7 +145,6 @@ void init_pike(char **argv, const char *file)
master_file
=
file
;
master_file
=
file
;
TRACE
((
stderr
,
"Main init...
\n
"
));
TRACE
((
stderr
,
"Main init...
\n
"
));
fd_init
();
fd_init
();
{
{
extern
void
init_node_s_blocks
(
void
);
extern
void
init_node_s_blocks
(
void
);
...
@@ -307,39 +304,30 @@ void init_pike_runtime(void (*exit_cb)(int))
...
@@ -307,39 +304,30 @@ void init_pike_runtime(void (*exit_cb)(int))
#endif
/* HAVE_GETRLIMIT && RLIMIT_STACK */
#endif
/* HAVE_GETRLIMIT && RLIMIT_STACK */
TRACE
((
stderr
,
"Init time...
\n
"
));
TRACE
((
stderr
,
"Init time...
\n
"
));
UPDATE_CURRENT_TIME
();
UPDATE_CURRENT_TIME
();
TRACE
((
stderr
,
"Init threads...
\n
"
));
TRACE
((
stderr
,
"Init threads...
\n
"
));
low_th_init
();
low_th_init
();
TRACE
((
stderr
,
"Init strings...
\n
"
));
TRACE
((
stderr
,
"Init strings...
\n
"
));
init_shared_string_table
();
init_shared_string_table
();
TRACE
((
stderr
,
"Init interpreter...
\n
"
));
TRACE
((
stderr
,
"Init interpreter...
\n
"
));
init_interpreter
();
init_interpreter
();
TRACE
((
stderr
,
"Init types...
\n
"
));
TRACE
((
stderr
,
"Init types...
\n
"
));
init_types
();
init_types
();
TRACE
((
stderr
,
"Init opcodes...
\n
"
));
TRACE
((
stderr
,
"Init opcodes...
\n
"
));
init_opcodes
();
init_opcodes
();
TRACE
((
stderr
,
"Init destruct...
\n
"
));
TRACE
((
stderr
,
"Init destruct...
\n
"
));
low_init_object
();
low_init_object
();
TRACE
((
stderr
,
"Init programs...
\n
"
));
TRACE
((
stderr
,
"Init programs...
\n
"
));
init_program
();
init_program
();
TRACE
((
stderr
,
"Init objects...
\n
"
));
TRACE
((
stderr
,
"Init objects...
\n
"
));
init_object
();
init_object
();
if
(
SETJMP
(
back
))
if
(
SETJMP
(
back
))
...
@@ -358,7 +346,6 @@ void init_pike_runtime(void (*exit_cb)(int))
...
@@ -358,7 +346,6 @@ void init_pike_runtime(void (*exit_cb)(int))
back
.
severity
=
THROW_EXIT
;
back
.
severity
=
THROW_EXIT
;
TRACE
((
stderr
,
"Init modules...
\n
"
));
TRACE
((
stderr
,
"Init modules...
\n
"
));
init_modules
();
init_modules
();
#ifdef TEST_MULTISET
#ifdef TEST_MULTISET
...
...
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