wweic commented on a change in pull request #4346: [Runtime] Make ADTObject POD 
container type
URL: https://github.com/apache/incubator-tvm/pull/4346#discussion_r349931640
 
 

 ##########
 File path: src/runtime/vm/vm.cc
 ##########
 @@ -921,7 +923,7 @@ void VirtualMachine::RunLoop() {
         CHECK(tuple != nullptr)
             << "Object is not data type object, register " << instr.object << 
", Object tag "
             << object->type_index();
-        auto field = tuple->fields[instr.field_index];
+        auto field = (*tuple)[instr.field_index];
 
 Review comment:
   done. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to