Skip to content

Commit

Permalink
Refactored runcore functions out of Instrument.pmc
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48261 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
khairul committed Aug 3, 2010
1 parent 7ea4a44 commit 0deaa2c
Show file tree
Hide file tree
Showing 6 changed files with 1,138 additions and 652 deletions.
8 changes: 6 additions & 2 deletions src/dynpmc/Defines.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ DYNPMC_INSTRUMENT = \
src/dynpmc/instrumentop.pmc \
src/dynpmc/instrumentvtable.pmc \
src/dynpmc/instrumentclass.pmc \
src/dynpmc/instrumentobject.pmc
src/dynpmc/instrumentobject.pmc \
src/dynpmc/instrumentinvokable.pmc \
src/dynpmc/instrumentruncore.pmc

DYNPMC_INSTRUMENT_OBJS = \
src/dynpmc/instrument$(O) \
Expand All @@ -37,7 +39,9 @@ DYNPMC_INSTRUMENT_OBJS = \
src/dynpmc/instrumentop$(O) \
src/dynpmc/instrumentvtable$(O) \
src/dynpmc/instrumentclass$(O) \
src/dynpmc/instrumentobject$(O)
src/dynpmc/instrumentobject$(O) \
src/dynpmc/instrumentinvokable$(O) \
src/dynpmc/instrumentruncore$(O)

DYNPMC_H_FILES = \
include/parrot/caches.h \
Expand Down
22 changes: 22 additions & 0 deletions src/dynpmc/Rules.in
Original file line number Diff line number Diff line change
Expand Up @@ -272,3 +272,25 @@ src/dynpmc/instrumentobject.c: src/dynpmc/instrumentobject.dump
src/dynpmc/instrumentobject.dump: src/dynpmc/instrumentobject.pmc vtable.dump $(CLASS_O_FILES) \
src/dynpmc/instrumentclass.dump
$(PMC2CD) src/dynpmc/instrumentobject.pmc

src/dynpmc/pmc_instrumentinvokable.h : src/dynpmc/instrumentinvokable.c

src/dynpmc/instrumentinvokable$(O): src/dynpmc/instrumentinvokable.c $(DYNPMC_H_FILES) \
src/dynpmc/pmc_instrumentinvokable.h

src/dynpmc/instrumentinvokable.c: src/dynpmc/instrumentinvokable.dump
$(PMC2CC) src/dynpmc/instrumentinvokable.pmc

src/dynpmc/instrumentinvokable.dump: src/dynpmc/instrumentinvokable.pmc vtable.dump $(CLASS_O_FILES)
$(PMC2CD) src/dynpmc/instrumentinvokable.pmc

src/dynpmc/pmc_instrumentruncore.h : src/dynpmc/instrumentruncore.c

src/dynpmc/instrumentruncore$(O): src/dynpmc/instrumentruncore.c $(DYNPMC_H_FILES) \
src/dynpmc/pmc_instrumentruncore.h

src/dynpmc/instrumentruncore.c: src/dynpmc/instrumentruncore.dump
$(PMC2CC) src/dynpmc/instrumentruncore.pmc

src/dynpmc/instrumentruncore.dump: src/dynpmc/instrumentruncore.pmc vtable.dump $(CLASS_O_FILES)
$(PMC2CD) src/dynpmc/instrumentruncore.pmc
Loading

0 comments on commit 0deaa2c

Please sign in to comment.