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

Side by Side Diff: src/platform-posix.cc

Issue 251103003: Remove unnecessary includes of v8 headers from platform files (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 #undef MAP_TYPE 60 #undef MAP_TYPE
61 61
62 #if defined(ANDROID) && !defined(V8_ANDROID_LOG_STDOUT) 62 #if defined(ANDROID) && !defined(V8_ANDROID_LOG_STDOUT)
63 #define LOG_TAG "v8" 63 #define LOG_TAG "v8"
64 #include <android/log.h> 64 #include <android/log.h>
65 #endif 65 #endif
66 66
67 #include "v8.h" 67 #include "v8.h"
68 68
69 #include "codegen.h"
70 #include "isolate-inl.h" 69 #include "isolate-inl.h"
71 #include "platform.h" 70 #include "platform.h"
72 71
73 namespace v8 { 72 namespace v8 {
74 namespace internal { 73 namespace internal {
75 74
76 // 0 is never a valid thread id. 75 // 0 is never a valid thread id.
77 static const pthread_t kNoThread = (pthread_t) 0; 76 static const pthread_t kNoThread = (pthread_t) 0;
78 77
79 78
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 811
813 void Thread::SetThreadLocal(LocalStorageKey key, void* value) { 812 void Thread::SetThreadLocal(LocalStorageKey key, void* value) {
814 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); 813 pthread_key_t pthread_key = LocalKeyToPthreadKey(key);
815 int result = pthread_setspecific(pthread_key, value); 814 int result = pthread_setspecific(pthread_key, value);
816 ASSERT_EQ(0, result); 815 ASSERT_EQ(0, result);
817 USE(result); 816 USE(result);
818 } 817 }
819 818
820 819
821 } } // namespace v8::internal 820 } } // namespace v8::internal
OLDNEW
« src/platform.h ('K') | « src/platform-openbsd.cc ('k') | src/platform-qnx.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698