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

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

Issue 18037002: Clean up the usage of V8_TARGET_ARCH_${arch} and V8_HOST_ARCH_${arch} (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 5 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/mips/stub-cache-mips.cc ('k') | src/platform-macos.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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 } 288 }
289 fclose(f); 289 fclose(f);
290 290
291 // Did not find string in the proc file. 291 // Did not find string in the proc file.
292 return false; 292 return false;
293 } 293 }
294 #endif // def __mips__ 294 #endif // def __mips__
295 295
296 296
297 int OS::ActivationFrameAlignment() { 297 int OS::ActivationFrameAlignment() {
298 #ifdef V8_TARGET_ARCH_ARM 298 #if V8_TARGET_ARCH_ARM
299 // On EABI ARM targets this is required for fp correctness in the 299 // On EABI ARM targets this is required for fp correctness in the
300 // runtime system. 300 // runtime system.
301 return 8; 301 return 8;
302 #elif V8_TARGET_ARCH_MIPS 302 #elif V8_TARGET_ARCH_MIPS
303 return 8; 303 return 8;
304 #endif 304 #endif
305 // With gcc 4.4 the tree vectorization optimizer can generate code 305 // With gcc 4.4 the tree vectorization optimizer can generate code
306 // that requires 16 byte alignment such as movdqa on x86. 306 // that requires 16 byte alignment such as movdqa on x86.
307 return 16; 307 return 16;
308 } 308 }
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
987 limit_mutex = CreateMutex(); 987 limit_mutex = CreateMutex();
988 } 988 }
989 989
990 990
991 void OS::TearDown() { 991 void OS::TearDown() {
992 delete limit_mutex; 992 delete limit_mutex;
993 } 993 }
994 994
995 995
996 } } // namespace v8::internal 996 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/stub-cache-mips.cc ('k') | src/platform-macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698