LCOV - code coverage report
Current view: top level - src/objects - js-locale-inl.h (source / functions) Hit Total Coverage
Test: app.info Lines: 3 3 100.0 %
Date: 2019-02-19 Functions: 2 2 100.0 %

          Line data    Source code
       1             : // Copyright 2018 the V8 project authors. All rights reserved.
       2             : // Use of this source code is governed by a BSD-style license that can be
       3             : // found in the LICENSE file.
       4             : 
       5             : #ifndef V8_INTL_SUPPORT
       6             : #error Internationalization is expected to be enabled.
       7             : #endif  // V8_INTL_SUPPORT
       8             : 
       9             : #ifndef V8_OBJECTS_JS_LOCALE_INL_H_
      10             : #define V8_OBJECTS_JS_LOCALE_INL_H_
      11             : 
      12             : #include "src/api-inl.h"
      13             : #include "src/objects-inl.h"
      14             : #include "src/objects/js-locale.h"
      15             : 
      16             : // Has to be the last include (doesn't have include guards):
      17             : #include "src/objects/object-macros.h"
      18             : 
      19             : namespace v8 {
      20             : namespace internal {
      21             : 
      22      346158 : OBJECT_CONSTRUCTORS_IMPL(JSLocale, JSObject)
      23             : 
      24      384255 : ACCESSORS(JSLocale, icu_locale, Managed<icu::Locale>, kICULocaleOffset)
      25             : 
      26      173079 : CAST_ACCESSOR(JSLocale)
      27             : 
      28             : }  // namespace internal
      29             : }  // namespace v8
      30             : 
      31             : #include "src/objects/object-macros-undef.h"
      32             : 
      33             : #endif  // V8_OBJECTS_JS_LOCALE_INL_H_

Generated by: LCOV version 1.10