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

Side by Side Diff: src/platform.h

Issue 7989: Remove unused strcasecmp function.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 2 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-win32.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 } } 61 } }
62 int isnan(double x); 62 int isnan(double x);
63 int isinf(double x); 63 int isinf(double x);
64 int isless(double x, double y); 64 int isless(double x, double y);
65 int isgreater(double x, double y); 65 int isgreater(double x, double y);
66 int fpclassify(double x); 66 int fpclassify(double x);
67 int signbit(double x); 67 int signbit(double x);
68 68
69 int random(); 69 int random();
70 70
71 int strcasecmp(const char* s1, const char* s2);
72 int strncasecmp(const char* s1, const char* s2, int n); 71 int strncasecmp(const char* s1, const char* s2, int n);
73 72
74 #else 73 #else
75 74
76 // Unfortunately, the INFINITY macro cannot be used with the '-pedantic' 75 // Unfortunately, the INFINITY macro cannot be used with the '-pedantic'
77 // warning flag and certain versions of GCC due to a bug: 76 // warning flag and certain versions of GCC due to a bug:
78 // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11931 77 // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11931
79 // For now, we use the more involved template-based version from <limits>, but 78 // For now, we use the more involved template-based version from <limits>, but
80 // only when compiling with GCC versions affected by the bug (2.96.x - 4.0.x) 79 // only when compiling with GCC versions affected by the bug (2.96.x - 4.0.x)
81 // __GNUC_PREREQ is not defined in GCC for Mac OS X, so we define our own macro 80 // __GNUC_PREREQ is not defined in GCC for Mac OS X, so we define our own macro
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 bool active_; 440 bool active_;
442 PlatformData* data_; // Platform specific data. 441 PlatformData* data_; // Platform specific data.
443 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler); 442 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler);
444 }; 443 };
445 444
446 #endif // ENABLE_LOGGING_AND_PROFILING 445 #endif // ENABLE_LOGGING_AND_PROFILING
447 446
448 } } // namespace v8::internal 447 } } // namespace v8::internal
449 448
450 #endif // V8_PLATFORM_H_ 449 #endif // V8_PLATFORM_H_
OLDNEW
« no previous file with comments | « no previous file | src/platform-win32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698