Check-in [6ad4c18b7e]

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

Overview
Comment:Add debug note.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:6ad4c18b7e29c77e8a764c912f1ecace57f4d101
User & Date: stephanie.gawroriski 2019-03-14 15:50:06
Context
2019-03-14
15:55
Add base class to process byte code into a register based code. check-in: 5c6e87bc22 user: stephanie.gawroriski tags: trunk
15:50
Add debug note. check-in: 6ad4c18b7e user: stephanie.gawroriski tags: trunk
13:03
Add base loop logic for translating methods. check-in: 048aeb0acf user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to runt/libs/tool-classfile/net/multiphasicapps/classfile/mini/Minimizer.java.

160
161
162
163
164
165
166

167
168



169
170
171
172
173
174
175
			// form and remap any used references.
			MethodFlags mf = m.flags();
			byte[] transcode = null;
			if (!mf.isAbstract() && !mf.isNative())
				throw new todo.TODO();
			
			// Add method

			temp._methods.add(new MinimizedMethod(mf.toJavaBits(), temp._count,
				m.name(), m.type(), transcode));



			
			// Quick count for used methods
			temp._count++;
		}
		
		return rv;
	}







>
|
|
>
>
>







160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
			// form and remap any used references.
			MethodFlags mf = m.flags();
			byte[] transcode = null;
			if (!mf.isAbstract() && !mf.isNative())
				throw new todo.TODO();
			
			// Add method
			MinimizedMethod q;
			temp._methods.add((q = new MinimizedMethod(mf.toJavaBits(),
				temp._count, m.name(), m.type(), transcode)));
			
			// Debug
			todo.DEBUG.note("Add method %s", q);
			
			// Quick count for used methods
			temp._count++;
		}
		
		return rv;
	}