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

Side by Side Diff: src/platform.h

Issue 348019: Add vfp support on ARM. Patch from John Jozwiak. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 1 month 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/flag-definitions.h ('k') | src/platform-linux.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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 static void StrNCpy(Vector<char> dest, const char* src, size_t n); 243 static void StrNCpy(Vector<char> dest, const char* src, size_t n);
244 244
245 // Support for profiler. Can do nothing, in which case ticks 245 // Support for profiler. Can do nothing, in which case ticks
246 // occuring in shared libraries will not be properly accounted 246 // occuring in shared libraries will not be properly accounted
247 // for. 247 // for.
248 static void LogSharedLibraryAddresses(); 248 static void LogSharedLibraryAddresses();
249 249
250 // Returns the double constant NAN 250 // Returns the double constant NAN
251 static double nan_value(); 251 static double nan_value();
252 252
253 // Support runtime detection of VFP3 on linux platforms.
254 static bool fgrep_vfp(const char * file_name, const char * string);
255
253 // Returns the activation frame alignment constraint or zero if 256 // Returns the activation frame alignment constraint or zero if
254 // the platform doesn't care. Guaranteed to be a power of two. 257 // the platform doesn't care. Guaranteed to be a power of two.
255 static int ActivationFrameAlignment(); 258 static int ActivationFrameAlignment();
256 259
257 private: 260 private:
258 static const int msPerSecond = 1000; 261 static const int msPerSecond = 1000;
259 262
260 DISALLOW_IMPLICIT_CONSTRUCTORS(OS); 263 DISALLOW_IMPLICIT_CONSTRUCTORS(OS);
261 }; 264 };
262 265
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 bool active_; 539 bool active_;
537 PlatformData* data_; // Platform specific data. 540 PlatformData* data_; // Platform specific data.
538 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler); 541 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler);
539 }; 542 };
540 543
541 #endif // ENABLE_LOGGING_AND_PROFILING 544 #endif // ENABLE_LOGGING_AND_PROFILING
542 545
543 } } // namespace v8::internal 546 } } // namespace v8::internal
544 547
545 #endif // V8_PLATFORM_H_ 548 #endif // V8_PLATFORM_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/platform-linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698