X-Git-Url: http://plrg.eecs.uci.edu/git/?p=c11tester.git;a=blobdiff_plain;f=datarace.cc;h=06de537546d90ca63f73d86e25fa747e5e5288eb;hp=da5fa8ce6ea6434ebacf0201e36f44cbba376d7b;hb=7d107019dd0d32d0803fb802fc318a57101707a1;hpb=055fb927ea688ec513508b0821e331558eea40d1 diff --git a/datarace.cc b/datarace.cc index da5fa8ce..06de5375 100644 --- a/datarace.cc +++ b/datarace.cc @@ -500,7 +500,7 @@ void recordWrite(thread_id_t thread, void *location) { /** This function just updates metadata on atomic write. */ void recordCalloc(void *location, size_t size) { - thread_id_t thread = thread_current()->get_id(); + thread_id_t thread = thread_current_id(); for(;size != 0;size--) { uint64_t *shadow = lookupAddressEntry(location); uint64_t shadowval = *shadow;