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

Side by Side Diff: src/conversions.h

Issue 358363002: Move platform abstraction to base library (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 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
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_CONVERSIONS_H_ 5 #ifndef V8_CONVERSIONS_H_
6 #define V8_CONVERSIONS_H_ 6 #define V8_CONVERSIONS_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "src/checks.h" 10 #include "src/base/logging.h"
11 #include "src/handles.h" 11 #include "src/handles.h"
12 #include "src/objects.h" 12 #include "src/objects.h"
13 #include "src/utils.h" 13 #include "src/utils.h"
14 14
15 namespace v8 { 15 namespace v8 {
16 namespace internal { 16 namespace internal {
17 17
18 class UnicodeCache; 18 class UnicodeCache;
19 19
20 // Maximum number of significant digits in decimal representation. 20 // Maximum number of significant digits in decimal representation.
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 Object* number) { 224 Object* number) {
225 size_t result = 0; 225 size_t result = 0;
226 bool is_valid = TryNumberToSize(isolate, number, &result); 226 bool is_valid = TryNumberToSize(isolate, number, &result);
227 CHECK(is_valid); 227 CHECK(is_valid);
228 return result; 228 return result;
229 } 229 }
230 230
231 } } // namespace v8::internal 231 } } // namespace v8::internal
232 232
233 #endif // V8_CONVERSIONS_H_ 233 #endif // V8_CONVERSIONS_H_
OLDNEW
« src/base/macros.h ('K') | « src/compiler.cc ('k') | src/conversions-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698