Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Unified Diff: src/sampler.cc

Issue 141363005: A64: Synchronize with r15204. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/runtime-profiler.cc ('k') | src/serialize.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/sampler.cc
diff --git a/src/sampler.cc b/src/sampler.cc
index bfec54c02e7d7211d36f737c8fd13b92bbd76996..0b11725fe99d557a68c66ceb7ee105d64d884eec 100644
--- a/src/sampler.cc
+++ b/src/sampler.cc
@@ -511,9 +511,7 @@ class SamplerThread : public Thread {
void SampleContext(Sampler* sampler) {
if (!SignalHandler::Installed()) return;
pthread_t tid = sampler->platform_data()->vm_tid();
- int result = pthread_kill(tid, SIGPROF);
- USE(result);
- ASSERT(result == 0);
+ pthread_kill(tid, SIGPROF);
}
#elif defined(__MACH__)
« no previous file with comments | « src/runtime-profiler.cc ('k') | src/serialize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698