comparison src/os_cpu/linux_zero/vm/os_linux_zero.cpp @ 12011:c54a3122f9c8

8022188: Make zero compile after 8016131 and 8016697 Reviewed-by: dholmes, twisti
author omajid
date Tue, 06 Aug 2013 12:28:46 -0400
parents 746b070f5022
children de6a9e811145
comparison
equal deleted inserted replaced
11996:22a5aff0df0b 12011:c54a3122f9c8
408 408
409 extern "C" { 409 extern "C" {
410 int SpinPause() { 410 int SpinPause() {
411 } 411 }
412 412
413 int SafeFetch32(int *adr, int errValue) {
414 int value = errValue;
415 value = *adr;
416 return value;
417 }
418 intptr_t SafeFetchN(intptr_t *adr, intptr_t errValue) {
419 intptr_t value = errValue;
420 value = *adr;
421 return value;
422 }
423 413
424 void _Copy_conjoint_jshorts_atomic(jshort* from, jshort* to, size_t count) { 414 void _Copy_conjoint_jshorts_atomic(jshort* from, jshort* to, size_t count) {
425 if (from > to) { 415 if (from > to) {
426 jshort *end = from + count; 416 jshort *end = from + count;
427 while (from < end) 417 while (from < end)