Revision: 7576
Author: [email protected]
Date: Mon Apr 11 17:42:27 2011
Log: Fix build borkage due to r7575
(landing for Dmitry Lomov)
Review URL: http://codereview.chromium.org/6823065
http://code.google.com/p/v8/source/detail?r=7576
Modified:
/branches/bleeding_edge/src/platform-win32.cc
=======================================
--- /branches/bleeding_edge/src/platform-win32.cc Mon Apr 11 16:46:22 2011
+++ /branches/bleeding_edge/src/platform-win32.cc Mon Apr 11 17:42:27 2011
@@ -1468,24 +1468,6 @@
// Definition of invalid thread handle and id.
static const HANDLE kNoThread = INVALID_HANDLE_VALUE;
-static const DWORD kNoThreadId = 0;
-
-
-class ThreadHandle::PlatformData : public Malloced {
- public:
- explicit PlatformData(ThreadHandle::Kind kind) {
- Initialize(kind);
- }
-
- void Initialize(ThreadHandle::Kind kind) {
- switch (kind) {
- case ThreadHandle::SELF: tid_ = GetCurrentThreadId(); break;
- case ThreadHandle::INVALID: tid_ = kNoThreadId; break;
- }
- }
- DWORD tid_; // Win32 thread identifier.
-};
-
// Entry point for threads. The supplied argument is a pointer to the
thread
// object. The entry function dispatches to the run method in the thread
@@ -1551,8 +1533,7 @@
ThreadEntry,
this,
0,
- reinterpret_cast<unsigned int*>(
- &thread_handle_data()->tid_)));
+ NULL));
ASSERT(IsValid());
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev