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

Side by Side Diff: src/globals.h

Issue 115076: Fix lint (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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/log.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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 #if V8_HOST_ARCH_64_BIT 75 #if V8_HOST_ARCH_64_BIT
76 #ifdef _MSC_VER 76 #ifdef _MSC_VER
77 #define V8_UINT64_C(x) (x ## UI64) 77 #define V8_UINT64_C(x) (x ## UI64)
78 #define V8_INT64_C(x) (x ## I64) 78 #define V8_INT64_C(x) (x ## I64)
79 #define V8_PTR_PREFIX "ll" 79 #define V8_PTR_PREFIX "ll"
80 #else 80 #else
81 #define V8_UINT64_C(x) (x ## UL) 81 #define V8_UINT64_C(x) (x ## UL)
82 #define V8_INT64_C(x) (x ## L) 82 #define V8_INT64_C(x) (x ## L)
83 #define V8_PTR_PREFIX "l" 83 #define V8_PTR_PREFIX "l"
84 #endif 84 #endif
85 #else // V8_HOST_ARCH_64_BIT 85 #else // V8_HOST_ARCH_64_BIT
86 #define V8_PTR_PREFIX "" 86 #define V8_PTR_PREFIX ""
87 #endif 87 #endif
88 88
89 #define V8PRIp V8_PTR_PREFIX "x" 89 #define V8PRIp V8_PTR_PREFIX "x"
90 90
91 // Code-point values in Unicode 4.0 are 21 bits wide. 91 // Code-point values in Unicode 4.0 are 21 bits wide.
92 typedef uint16_t uc16; 92 typedef uint16_t uc16;
93 typedef int32_t uc32; 93 typedef int32_t uc32;
94 94
95 // ----------------------------------------------------------------------------- 95 // -----------------------------------------------------------------------------
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 534
535 Dest dest; 535 Dest dest;
536 memcpy(&dest, &source, sizeof(dest)); 536 memcpy(&dest, &source, sizeof(dest));
537 return dest; 537 return dest;
538 } 538 }
539 539
540 540
541 } } // namespace v8::internal 541 } } // namespace v8::internal
542 542
543 #endif // V8_GLOBALS_H_ 543 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « no previous file | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698