Fixed string size undo
This commit is contained in:
		
							parent
							
								
									5188e80ee3
								
							
						
					
					
						commit
						b50325d3a5
					
				@ -278,7 +278,7 @@ public class Memory {
 | 
			
		||||
                            Vector<Integer> str = decodeStrConst(init.value, valLoc);
 | 
			
		||||
                            inits.add(str.size());
 | 
			
		||||
                            inits.addAll(str);
 | 
			
		||||
                            size += 4 * num;
 | 
			
		||||
                            size += 4 * str.size() * num;
 | 
			
		||||
                            break;
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user