Skip to content

Commit 6cb3cc9

Browse files
committed
Fix compilation under Linux.
1 parent e446b87 commit 6cb3cc9

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Diff for: src/platform-linux.cc

-5
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
#include "v8.h"
5959

6060
#include "platform.h"
61-
#include "v8threads.h"
6261
#include "vm-state-inl.h"
6362

6463

@@ -985,10 +984,6 @@ static void ProfilerSignalHandler(int signal, siginfo_t* info, void* context) {
985984
// We require a fully initialized and entered isolate.
986985
return;
987986
}
988-
if (v8::Locker::IsActive() &&
989-
!isolate->thread_manager()->IsLockedByCurrentThread()) {
990-
return;
991-
}
992987

993988
Sampler* sampler = isolate->logger()->sampler();
994989
if (sampler == NULL || !sampler->IsActive()) return;

Diff for: w16/main.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
using namespace v8;
1010

1111
v8::internal::Thread::LocalStorageKey thread_name_key =
12-
v8::internal::Thread::CreateThreadLocalKey();;
12+
v8::internal::Thread::CreateThreadLocalKey();
1313

1414
// reads a file into a v8 string.
1515
Handle<String> ReadFile(const char* filename) {

0 commit comments

Comments
 (0)