File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ struct VMFrame {
366366/* ! \brief The executable emitted by the VM compiler.
367367 *
368368 * The executable contains information (e.g. data in different memory regions)
369- * to create a virtual machine.
369+ * to run in a virtual machine.
370370 */
371371class Executable : public ModuleNode {
372372 public:
@@ -382,7 +382,7 @@ class Executable : public ModuleNode {
382382 const std::shared_ptr<ModuleNode>& sptr_to_self) final ;
383383
384384 /* !
385- * \brief Get the serialized form of the `functions` in `vm_` . This is
385+ * \brief Get the serialized form of the `functions`. This is
386386 * essentially bytecode serialization.
387387 *
388388 * \return The serialized vm bytecode.
@@ -433,7 +433,8 @@ class Executable : public ModuleNode {
433433 return " VMExecutable" ;
434434 }
435435
436- /* ! \brief The runtime module/library that contains hardware dependent code. */
436+ /* ! \brief The runtime module/library that contains both the host and also the device
437+ * code when executing on non-CPU devices. */
437438 runtime::Module lib;
438439 /* ! \brief The global constant pool. */
439440 std::vector<Object> constants;
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ std::string Executable::GetBytecode() const {
8787 << func.instructions .size () << std::endl;
8888
8989 // Print pramams of a `VMFunction`.
90- oss << " # Parameters:" << std::endl;
90+ oss << " # Parameters: " << std::endl;
9191 for (const auto & param : func.params ) {
9292 oss << param << " " ;
9393 }
You can’t perform that action at this time.
0 commit comments