// Copyright 2016 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/builtins/builtins-utils-inl.h" #include "src/builtins/builtins.h" #include "src/codegen/code-factory.h" #include "src/codegen/compiler.h" #include "src/logging/counters.h" #include "src/objects/objects-inl.h" #include "src/strings/uri.h" namespace v8 { namespace internal { // ES6 section 18.2.6.2 decodeURI (encodedURI) BUILTIN(GlobalDecodeURI) { … } // ES6 section 18.2.6.3 decodeURIComponent (encodedURIComponent) BUILTIN(GlobalDecodeURIComponent) { … } // ES6 section 18.2.6.4 encodeURI (uri) BUILTIN(GlobalEncodeURI) { … } // ES6 section 18.2.6.5 encodeURIComponenet (uriComponent) BUILTIN(GlobalEncodeURIComponent) { … } // ES6 section B.2.1.1 escape (string) BUILTIN(GlobalEscape) { … } // ES6 section B.2.1.2 unescape (string) BUILTIN(GlobalUnescape) { … } // ES6 section 18.2.1 eval (x) BUILTIN(GlobalEval) { … } } // namespace internal } // namespace v8