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

Side by Side Diff: src/global-handles.h

Issue 2601833002: [intl] Remove indirection in Intl objects (Closed)
Patch Set: Fix a dcheck Created 3 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
« no previous file with comments | « src/contexts.h ('k') | src/heap-symbols.h » ('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 // 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_GLOBAL_HANDLES_H_ 5 #ifndef V8_GLOBAL_HANDLES_H_
6 #define V8_GLOBAL_HANDLES_H_ 6 #define V8_GLOBAL_HANDLES_H_
7 7
8 #include "include/v8.h" 8 #include "include/v8.h"
9 #include "include/v8-profiler.h" 9 #include "include/v8-profiler.h"
10 10
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 Node* node_; 389 Node* node_;
390 Data::Callback callback_; 390 Data::Callback callback_;
391 void* parameter_; 391 void* parameter_;
392 void* internal_fields_[v8::kInternalFieldsInWeakCallback]; 392 void* internal_fields_[v8::kInternalFieldsInWeakCallback];
393 }; 393 };
394 394
395 395
396 class EternalHandles { 396 class EternalHandles {
397 public: 397 public:
398 enum SingletonHandle { 398 enum SingletonHandle {
399 I18N_TEMPLATE_ONE,
400 I18N_TEMPLATE_TWO,
401 DATE_CACHE_VERSION, 399 DATE_CACHE_VERSION,
402 400
403 NUMBER_OF_SINGLETON_HANDLES 401 NUMBER_OF_SINGLETON_HANDLES
404 }; 402 };
405 403
406 EternalHandles(); 404 EternalHandles();
407 ~EternalHandles(); 405 ~EternalHandles();
408 406
409 int NumberOfHandles() { return size_; } 407 int NumberOfHandles() { return size_; }
410 408
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 int singleton_handles_[NUMBER_OF_SINGLETON_HANDLES]; 458 int singleton_handles_[NUMBER_OF_SINGLETON_HANDLES];
461 459
462 DISALLOW_COPY_AND_ASSIGN(EternalHandles); 460 DISALLOW_COPY_AND_ASSIGN(EternalHandles);
463 }; 461 };
464 462
465 463
466 } // namespace internal 464 } // namespace internal
467 } // namespace v8 465 } // namespace v8
468 466
469 #endif // V8_GLOBAL_HANDLES_H_ 467 #endif // V8_GLOBAL_HANDLES_H_
OLDNEW
« no previous file with comments | « src/contexts.h ('k') | src/heap-symbols.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698