Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis12/src/compiler/c-target/gen-output.sml
ViewVC logotype

Diff of /branches/vis12/src/compiler/c-target/gen-output.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1733, Tue Mar 13 14:09:15 2012 UTC revision 1734, Tue Mar 13 14:32:29 2012 UTC
# Line 265  Line 265 
265                          CL.mkCall("memcpy", [                          CL.mkCall("memcpy", [
266                              cpV,                              cpV,
267                              CL.mkUnOp(CL.%&, stateVar name),                              CL.mkUnOp(CL.%&, stateVar name),
268                              CL.mkBinOp(mkInt nDims, CL.#*, CL.mkSizeof elemCTy)                              CL.mkBinOp(mkInt nElems, CL.#*, CL.mkSizeof elemCTy)
269                            ]),                            ]),
270                          CL.mkExpStm(CL.mkAssignOp(cpV, CL.+=, CL.mkSizeof elemCTy))                          CL.mkExpStm(CL.mkAssignOp(cpV, CL.+=,
271                              CL.mkBinOp(mkInt nElems, CL.#*, CL.mkSizeof elemCTy)))
272                        ]                        ]
273                  val copyStm = if isArray                  val copyStm = if isArray
274                        then copyBlk                        then copyBlk

Legend:
Removed from v.1733  
changed lines
  Added in v.1734

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0