RAPL

Check-in [c19755954f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:typo fixes
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:c19755954f8722c7d1ea9210da5aec804d0db5a7
User & Date: arnulf 2012-02-22 20:40:37
Context
2012-02-22
20:42
added missing return statement check-in: c87f4a4e0b user: arnulf tags: trunk
20:40
typo fixes check-in: c19755954f user: arnulf tags: trunk
20:39
typo fix check-in: 3c29c50c54 user: arnulf tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to rapl_variable_obj_type.js.

624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
      if (flags & (varbl.APPEND_VALUE|varbl.LIST_ELEMENT)) {
	if (flags & varbl.LIST_ELEMENT) {               /* Append list element. */
          if (old_value_ptr == null) {
	    old_value_ptr = varbl.interp.default_obj.newObj();
	    var_ptr.obj_ptr = old_value_ptr;
	    old_value_ptr.incrRefCount();    /* Since var is referenced. */
          } else {
            if (old-value_ptr.isShared()) {
	      var_ptr.obj_ptr = old_value_ptr.duplicateObj();
	      old_value_ptr.decrRefCount();
	      old_value_ptr = var_ptr.obj_ptr;
              old_value_ptr.incrRefCount();             /* Since var is referenced. */
            }
          }
          result = varbl.interp.list_obj_type..listObjAppendElement(old_value_ptr, new_value_ptr);
	  if (result != varbl.OK) {
            earlyError = true;
	  }
	} else {				/* Append string. */
	  /*
	   * We append newValuePtr's bytes but don't change its ref count.
	   */







|






|







624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
      if (flags & (varbl.APPEND_VALUE|varbl.LIST_ELEMENT)) {
	if (flags & varbl.LIST_ELEMENT) {               /* Append list element. */
          if (old_value_ptr == null) {
	    old_value_ptr = varbl.interp.default_obj.newObj();
	    var_ptr.obj_ptr = old_value_ptr;
	    old_value_ptr.incrRefCount();    /* Since var is referenced. */
          } else {
            if (old_value_ptr.isShared()) {
	      var_ptr.obj_ptr = old_value_ptr.duplicateObj();
	      old_value_ptr.decrRefCount();
	      old_value_ptr = var_ptr.obj_ptr;
              old_value_ptr.incrRefCount();             /* Since var is referenced. */
            }
          }
          result = varbl.interp.list_obj_type.listObjAppendElement(old_value_ptr, new_value_ptr);
	  if (result != varbl.OK) {
            earlyError = true;
	  }
	} else {				/* Append string. */
	  /*
	   * We append newValuePtr's bytes but don't change its ref count.
	   */