Check-in [07a440d973]

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

Overview
Comment:Remove TimeAccess implementation in SpringCoat.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:07a440d9730ce60b75a1063276e7cea6968fc092
User & Date: stephanie.gawroriski 2019-05-23 17:13:04
Context
2019-05-23
17:16
Remove RegistryAccess, it was never used. check-in: 580bb251a2 user: stephanie.gawroriski tags: trunk
17:13
Remove TimeAccess implementation in SpringCoat. check-in: 07a440d973 user: stephanie.gawroriski tags: trunk
16:48
Remove TimeAccess and replace with system calls. check-in: 79482f1be1 user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to runt/libs/springcoat-vm/cc/squirreljme/vm/springcoat/SpringThreadWorker.java.

1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
				
				// Task status
			case "cc/squirreljme/runtime/cldc/asm/TaskAccess::" +
				"taskStatus:(I)I":
				return this.machine.taskManager().taskStatus(
					(Integer)__args[0]);
				
				// Current time in milliseconds
			case "cc/squirreljme/runtime/cldc/asm/TimeAccess::" +
				"currentTimeMillis:()J":
				return System.currentTimeMillis();
			
				// Current nanosecond time
			case "cc/squirreljme/runtime/cldc/asm/TimeAccess::" +
				"nanoTime:()J":
				return System.nanoTime();
				
				// {@squirreljme.error BK1j Unknown native function. (The
				// native function)}
			default:
				throw new SpringVirtualMachineException(
					String.format("BK1j %s", __func));
		}
	}







<
<
<
<
<
<
<
<
<
<







1893
1894
1895
1896
1897
1898
1899










1900
1901
1902
1903
1904
1905
1906
				
				// Task status
			case "cc/squirreljme/runtime/cldc/asm/TaskAccess::" +
				"taskStatus:(I)I":
				return this.machine.taskManager().taskStatus(
					(Integer)__args[0]);
				










				// {@squirreljme.error BK1j Unknown native function. (The
				// native function)}
			default:
				throw new SpringVirtualMachineException(
					String.format("BK1j %s", __func));
		}
	}