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

Side by Side Diff: src/platform.h

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
« no previous file with comments | « no previous file | src/platform-cygwin.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 double modulo(double x, double y); 99 double modulo(double x, double y);
100 100
101 // Custom implementation of math functions. 101 // Custom implementation of math functions.
102 double fast_exp(double input); 102 double fast_exp(double input);
103 double fast_sqrt(double input); 103 double fast_sqrt(double input);
104 // The custom exp implementation needs 16KB of lookup data; initialize it 104 // The custom exp implementation needs 16KB of lookup data; initialize it
105 // on demand. 105 // on demand.
106 void lazily_initialize_fast_exp(); 106 void lazily_initialize_fast_exp();
107 107
108
108 // ---------------------------------------------------------------------------- 109 // ----------------------------------------------------------------------------
109 // Fast TLS support 110 // Fast TLS support
110 111
111 #ifndef V8_NO_FAST_TLS 112 #ifndef V8_NO_FAST_TLS
112 113
113 #if defined(_MSC_VER) && V8_HOST_ARCH_IA32 114 #if defined(_MSC_VER) && V8_HOST_ARCH_IA32
114 115
115 #define V8_FAST_TLS_SUPPORTED 1 116 #define V8_FAST_TLS_SUPPORTED 1
116 117
117 INLINE(intptr_t InternalGetExistingThreadLocal(intptr_t index)); 118 INLINE(intptr_t InternalGetExistingThreadLocal(intptr_t index));
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 char name_[kMaxThreadNameLength]; 618 char name_[kMaxThreadNameLength];
618 int stack_size_; 619 int stack_size_;
619 Semaphore* start_semaphore_; 620 Semaphore* start_semaphore_;
620 621
621 DISALLOW_COPY_AND_ASSIGN(Thread); 622 DISALLOW_COPY_AND_ASSIGN(Thread);
622 }; 623 };
623 624
624 } } // namespace v8::internal 625 } } // namespace v8::internal
625 626
626 #endif // V8_PLATFORM_H_ 627 #endif // V8_PLATFORM_H_
OLDNEW
« no previous file with comments | « no previous file | src/platform-cygwin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698