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

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, 8 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 | « src/codegen.h ('k') | 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
109 // Results of the library implementation of transcendental functions may differ
110 // from the one we use in our generated code. Therefore we use the same
111 // generated code both in runtime and compiled code.
112 typedef double (*UnaryMathFunction)(double x);
113
114 UnaryMathFunction CreateExpFunction();
Michael Starzinger 2014/04/28 11:25:49 I am confused: The implementation of these still l
115 UnaryMathFunction CreateSqrtFunction();
116
117
108 // ---------------------------------------------------------------------------- 118 // ----------------------------------------------------------------------------
109 // Fast TLS support 119 // Fast TLS support
110 120
111 #ifndef V8_NO_FAST_TLS 121 #ifndef V8_NO_FAST_TLS
112 122
113 #if defined(_MSC_VER) && V8_HOST_ARCH_IA32 123 #if defined(_MSC_VER) && V8_HOST_ARCH_IA32
114 124
115 #define V8_FAST_TLS_SUPPORTED 1 125 #define V8_FAST_TLS_SUPPORTED 1
116 126
117 INLINE(intptr_t InternalGetExistingThreadLocal(intptr_t index)); 127 INLINE(intptr_t InternalGetExistingThreadLocal(intptr_t index));
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 char name_[kMaxThreadNameLength]; 627 char name_[kMaxThreadNameLength];
618 int stack_size_; 628 int stack_size_;
619 Semaphore* start_semaphore_; 629 Semaphore* start_semaphore_;
620 630
621 DISALLOW_COPY_AND_ASSIGN(Thread); 631 DISALLOW_COPY_AND_ASSIGN(Thread);
622 }; 632 };
623 633
624 } } // namespace v8::internal 634 } } // namespace v8::internal
625 635
626 #endif // V8_PLATFORM_H_ 636 #endif // V8_PLATFORM_H_
OLDNEW
« no previous file with comments | « src/codegen.h ('k') | src/platform-cygwin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698