Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(579)

Side by Side Diff: src/bootstrapper.cc

Issue 2358133004: [stubs] Port String.prototype.substring to TurboFan (Closed)
Patch Set: Rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/builtins/builtins.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1397 SimpleInstallFunction(prototype, "charAt", Builtins::kStringPrototypeCharAt, 1397 SimpleInstallFunction(prototype, "charAt", Builtins::kStringPrototypeCharAt,
1398 1, true); 1398 1, true);
1399 SimpleInstallFunction(prototype, "charCodeAt", 1399 SimpleInstallFunction(prototype, "charCodeAt",
1400 Builtins::kStringPrototypeCharCodeAt, 1, true); 1400 Builtins::kStringPrototypeCharCodeAt, 1, true);
1401 SimpleInstallFunction(prototype, "lastIndexOf", 1401 SimpleInstallFunction(prototype, "lastIndexOf",
1402 Builtins::kStringPrototypeLastIndexOf, 1, false); 1402 Builtins::kStringPrototypeLastIndexOf, 1, false);
1403 SimpleInstallFunction(prototype, "localeCompare", 1403 SimpleInstallFunction(prototype, "localeCompare",
1404 Builtins::kStringPrototypeLocaleCompare, 1, true); 1404 Builtins::kStringPrototypeLocaleCompare, 1, true);
1405 SimpleInstallFunction(prototype, "normalize", 1405 SimpleInstallFunction(prototype, "normalize",
1406 Builtins::kStringPrototypeNormalize, 0, false); 1406 Builtins::kStringPrototypeNormalize, 0, false);
1407 SimpleInstallFunction(prototype, "substring",
1408 Builtins::kStringPrototypeSubstring, 2, true);
1407 SimpleInstallFunction(prototype, "toString", 1409 SimpleInstallFunction(prototype, "toString",
1408 Builtins::kStringPrototypeToString, 0, true); 1410 Builtins::kStringPrototypeToString, 0, true);
1409 SimpleInstallFunction(prototype, "trim", Builtins::kStringPrototypeTrim, 0, 1411 SimpleInstallFunction(prototype, "trim", Builtins::kStringPrototypeTrim, 0,
1410 false); 1412 false);
1411 SimpleInstallFunction(prototype, "trimLeft", 1413 SimpleInstallFunction(prototype, "trimLeft",
1412 Builtins::kStringPrototypeTrimLeft, 0, false); 1414 Builtins::kStringPrototypeTrimLeft, 0, false);
1413 SimpleInstallFunction(prototype, "trimRight", 1415 SimpleInstallFunction(prototype, "trimRight",
1414 Builtins::kStringPrototypeTrimRight, 0, false); 1416 Builtins::kStringPrototypeTrimRight, 0, false);
1415 SimpleInstallFunction(prototype, "valueOf", 1417 SimpleInstallFunction(prototype, "valueOf",
1416 Builtins::kStringPrototypeValueOf, 0, true); 1418 Builtins::kStringPrototypeValueOf, 0, true);
(...skipping 2766 matching lines...) Expand 10 before | Expand all | Expand 10 after
4183 } 4185 }
4184 4186
4185 4187
4186 // Called when the top-level V8 mutex is destroyed. 4188 // Called when the top-level V8 mutex is destroyed.
4187 void Bootstrapper::FreeThreadResources() { 4189 void Bootstrapper::FreeThreadResources() {
4188 DCHECK(!IsActive()); 4190 DCHECK(!IsActive());
4189 } 4191 }
4190 4192
4191 } // namespace internal 4193 } // namespace internal
4192 } // namespace v8 4194 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/builtins/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698