| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 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 | 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 #include "src/builtins/builtins-utils.h" |
| 5 #include "src/builtins/builtins.h" | 6 #include "src/builtins/builtins.h" |
| 6 #include "src/builtins/builtins-utils.h" | |
| 7 | |
| 8 #include "src/code-factory.h" | 7 #include "src/code-factory.h" |
| 8 #include "src/code-stub-assembler.h" |
| 9 #include "src/compiler.h" | 9 #include "src/compiler.h" |
| 10 #include "src/uri.h" | 10 #include "src/uri.h" |
| 11 | 11 |
| 12 namespace v8 { | 12 namespace v8 { |
| 13 namespace internal { | 13 namespace internal { |
| 14 | 14 |
| 15 // ES6 section 18.2.6.2 decodeURI (encodedURI) | 15 // ES6 section 18.2.6.2 decodeURI (encodedURI) |
| 16 BUILTIN(GlobalDecodeURI) { | 16 BUILTIN(GlobalDecodeURI) { |
| 17 HandleScope scope(isolate); | 17 HandleScope scope(isolate); |
| 18 Handle<String> encoded_uri; | 18 Handle<String> encoded_uri; |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 | 202 |
| 203 assembler.Bind(&return_true); | 203 assembler.Bind(&return_true); |
| 204 assembler.Return(assembler.BooleanConstant(true)); | 204 assembler.Return(assembler.BooleanConstant(true)); |
| 205 | 205 |
| 206 assembler.Bind(&return_false); | 206 assembler.Bind(&return_false); |
| 207 assembler.Return(assembler.BooleanConstant(false)); | 207 assembler.Return(assembler.BooleanConstant(false)); |
| 208 } | 208 } |
| 209 | 209 |
| 210 } // namespace internal | 210 } // namespace internal |
| 211 } // namespace v8 | 211 } // namespace v8 |
| OLD | NEW |