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-solaris.cc

Issue 9231009: More spelling changes. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 11 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/platform-openbsd.cc ('k') | 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 time_t utc = time(NULL); 132 time_t utc = time(NULL);
133 ASSERT(utc != -1); 133 ASSERT(utc != -1);
134 struct tm* loc = localtime(&utc); 134 struct tm* loc = localtime(&utc);
135 ASSERT(loc != NULL); 135 ASSERT(loc != NULL);
136 return static_cast<double>((mktime(loc) - utc) * msPerSecond); 136 return static_cast<double>((mktime(loc) - utc) * msPerSecond);
137 } 137 }
138 138
139 139
140 // We keep the lowest and highest addresses mapped as a quick way of 140 // We keep the lowest and highest addresses mapped as a quick way of
141 // determining that pointers are outside the heap (used mostly in assertions 141 // determining that pointers are outside the heap (used mostly in assertions
142 // and verification). The estimate is conservative, ie, not all addresses in 142 // and verification). The estimate is conservative, i.e., not all addresses in
143 // 'allocated' space are actually allocated to our heap. The range is 143 // 'allocated' space are actually allocated to our heap. The range is
144 // [lowest, highest), inclusive on the low and and exclusive on the high end. 144 // [lowest, highest), inclusive on the low and and exclusive on the high end.
145 static void* lowest_ever_allocated = reinterpret_cast<void*>(-1); 145 static void* lowest_ever_allocated = reinterpret_cast<void*>(-1);
146 static void* highest_ever_allocated = reinterpret_cast<void*>(0); 146 static void* highest_ever_allocated = reinterpret_cast<void*>(0);
147 147
148 148
149 static void UpdateAllocatedSpaceLimits(void* address, int size) { 149 static void UpdateAllocatedSpaceLimits(void* address, int size) {
150 ASSERT(limit_mutex != NULL); 150 ASSERT(limit_mutex != NULL);
151 ScopedLock lock(limit_mutex); 151 ScopedLock lock(limit_mutex);
152 152
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 } 791 }
792 792
793 793
794 void Sampler::Stop() { 794 void Sampler::Stop() {
795 ASSERT(IsActive()); 795 ASSERT(IsActive());
796 SignalSender::RemoveActiveSampler(this); 796 SignalSender::RemoveActiveSampler(this);
797 SetActive(false); 797 SetActive(false);
798 } 798 }
799 799
800 } } // namespace v8::internal 800 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform-openbsd.cc ('k') | src/platform-win32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698