| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/bootstrapper.h" | 5 #include "src/bootstrapper.h" |
| 6 | 6 |
| 7 #include "src/accessors.h" | 7 #include "src/accessors.h" |
| 8 #include "src/api-natives.h" | 8 #include "src/api-natives.h" |
| 9 #include "src/base/ieee754.h" | 9 #include "src/base/ieee754.h" |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 1390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1401 SimpleInstallFunction(prototype, "charAt", Builtins::kStringPrototypeCharAt, | 1401 SimpleInstallFunction(prototype, "charAt", Builtins::kStringPrototypeCharAt, |
| 1402 1, true); | 1402 1, true); |
| 1403 SimpleInstallFunction(prototype, "charCodeAt", | 1403 SimpleInstallFunction(prototype, "charCodeAt", |
| 1404 Builtins::kStringPrototypeCharCodeAt, 1, true); | 1404 Builtins::kStringPrototypeCharCodeAt, 1, true); |
| 1405 SimpleInstallFunction(prototype, "lastIndexOf", | 1405 SimpleInstallFunction(prototype, "lastIndexOf", |
| 1406 Builtins::kStringPrototypeLastIndexOf, 1, false); | 1406 Builtins::kStringPrototypeLastIndexOf, 1, false); |
| 1407 SimpleInstallFunction(prototype, "localeCompare", | 1407 SimpleInstallFunction(prototype, "localeCompare", |
| 1408 Builtins::kStringPrototypeLocaleCompare, 1, true); | 1408 Builtins::kStringPrototypeLocaleCompare, 1, true); |
| 1409 SimpleInstallFunction(prototype, "normalize", | 1409 SimpleInstallFunction(prototype, "normalize", |
| 1410 Builtins::kStringPrototypeNormalize, 0, false); | 1410 Builtins::kStringPrototypeNormalize, 0, false); |
| 1411 SimpleInstallFunction(prototype, "substring", | |
| 1412 Builtins::kStringPrototypeSubstring, 2, true); | |
| 1413 SimpleInstallFunction(prototype, "toString", | 1411 SimpleInstallFunction(prototype, "toString", |
| 1414 Builtins::kStringPrototypeToString, 0, true); | 1412 Builtins::kStringPrototypeToString, 0, true); |
| 1415 SimpleInstallFunction(prototype, "trim", Builtins::kStringPrototypeTrim, 0, | 1413 SimpleInstallFunction(prototype, "trim", Builtins::kStringPrototypeTrim, 0, |
| 1416 false); | 1414 false); |
| 1417 SimpleInstallFunction(prototype, "trimLeft", | 1415 SimpleInstallFunction(prototype, "trimLeft", |
| 1418 Builtins::kStringPrototypeTrimLeft, 0, false); | 1416 Builtins::kStringPrototypeTrimLeft, 0, false); |
| 1419 SimpleInstallFunction(prototype, "trimRight", | 1417 SimpleInstallFunction(prototype, "trimRight", |
| 1420 Builtins::kStringPrototypeTrimRight, 0, false); | 1418 Builtins::kStringPrototypeTrimRight, 0, false); |
| 1421 SimpleInstallFunction(prototype, "valueOf", | 1419 SimpleInstallFunction(prototype, "valueOf", |
| 1422 Builtins::kStringPrototypeValueOf, 0, true); | 1420 Builtins::kStringPrototypeValueOf, 0, true); |
| (...skipping 2763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4186 } | 4184 } |
| 4187 | 4185 |
| 4188 | 4186 |
| 4189 // Called when the top-level V8 mutex is destroyed. | 4187 // Called when the top-level V8 mutex is destroyed. |
| 4190 void Bootstrapper::FreeThreadResources() { | 4188 void Bootstrapper::FreeThreadResources() { |
| 4191 DCHECK(!IsActive()); | 4189 DCHECK(!IsActive()); |
| 4192 } | 4190 } |
| 4193 | 4191 |
| 4194 } // namespace internal | 4192 } // namespace internal |
| 4195 } // namespace v8 | 4193 } // namespace v8 |
| OLD | NEW |