LCOV - code coverage report
Current view: top level - src/builtins - builtins-internal.cc (source / functions) Hit Total Coverage
Test: app.info Lines: 6 8 75.0 %
Date: 2019-04-18 Functions: 6 11 54.5 %

          Line data    Source code
       1             : // Copyright 2016 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             : #include "src/builtins/builtins-utils.h"
       6             : #include "src/builtins/builtins.h"
       7             : #include "src/counters.h"
       8             : #include "src/interface-descriptors.h"
       9             : #include "src/objects-inl.h"
      10             : 
      11             : namespace v8 {
      12             : namespace internal {
      13             : 
      14           0 : BUILTIN(Illegal) {
      15           0 :   UNREACHABLE();
      16             : }
      17             : 
      18         946 : BUILTIN(EmptyFunction) { return ReadOnlyRoots(isolate).undefined_value(); }
      19             : 
      20         180 : BUILTIN(UnsupportedThrower) {
      21             :   HandleScope scope(isolate);
      22         108 :   THROW_NEW_ERROR_RETURN_FAILURE(isolate,
      23             :                                  NewError(MessageTemplate::kUnsupported));
      24             : }
      25             : 
      26       62665 : BUILTIN(StrictPoisonPillThrower) {
      27             :   HandleScope scope(isolate);
      28       37599 :   THROW_NEW_ERROR_RETURN_FAILURE(
      29             :       isolate, NewTypeError(MessageTemplate::kStrictPoisonPill));
      30             : }
      31             : 
      32             : }  // namespace internal
      33      122036 : }  // namespace v8

Generated by: LCOV version 1.10