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

Side by Side Diff: src/debug/debug-evaluate.cc

Issue 2663803002: [string] Migrate String.prototype.{split,replace} to TF (Closed)
Patch Set: Add fast-path for strings Created 3 years, 10 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
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/debug/debug-evaluate.h" 5 #include "src/debug/debug-evaluate.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/compiler.h" 8 #include "src/compiler.h"
9 #include "src/contexts.h" 9 #include "src/contexts.h"
10 #include "src/debug/debug-frames.h" 10 #include "src/debug/debug-frames.h"
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 // String builtins. Strings are immutable. 423 // String builtins. Strings are immutable.
424 case Builtins::kStringFromCharCode: 424 case Builtins::kStringFromCharCode:
425 case Builtins::kStringFromCodePoint: 425 case Builtins::kStringFromCodePoint:
426 case Builtins::kStringConstructor: 426 case Builtins::kStringConstructor:
427 case Builtins::kStringPrototypeCharAt: 427 case Builtins::kStringPrototypeCharAt:
428 case Builtins::kStringPrototypeCharCodeAt: 428 case Builtins::kStringPrototypeCharCodeAt:
429 case Builtins::kStringPrototypeEndsWith: 429 case Builtins::kStringPrototypeEndsWith:
430 case Builtins::kStringPrototypeIncludes: 430 case Builtins::kStringPrototypeIncludes:
431 case Builtins::kStringPrototypeIndexOf: 431 case Builtins::kStringPrototypeIndexOf:
432 case Builtins::kStringPrototypeLastIndexOf: 432 case Builtins::kStringPrototypeLastIndexOf:
433 case Builtins::kStringPrototypeReplace:
434 case Builtins::kStringPrototypeSplit:
433 case Builtins::kStringPrototypeStartsWith: 435 case Builtins::kStringPrototypeStartsWith:
434 case Builtins::kStringPrototypeSubstr: 436 case Builtins::kStringPrototypeSubstr:
435 case Builtins::kStringPrototypeSubstring: 437 case Builtins::kStringPrototypeSubstring:
436 case Builtins::kStringPrototypeToString: 438 case Builtins::kStringPrototypeToString:
437 case Builtins::kStringPrototypeTrim: 439 case Builtins::kStringPrototypeTrim:
438 case Builtins::kStringPrototypeTrimLeft: 440 case Builtins::kStringPrototypeTrimLeft:
439 case Builtins::kStringPrototypeTrimRight: 441 case Builtins::kStringPrototypeTrimRight:
440 case Builtins::kStringPrototypeValueOf: 442 case Builtins::kStringPrototypeValueOf:
441 // JSON builtins. 443 // JSON builtins.
442 case Builtins::kJsonParse: 444 case Builtins::kJsonParse:
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 512
511 if (FLAG_trace_side_effect_free_debug_evaluate) { 513 if (FLAG_trace_side_effect_free_debug_evaluate) {
512 PrintF("[debug-evaluate] API Callback at %p may cause side effect.\n", 514 PrintF("[debug-evaluate] API Callback at %p may cause side effect.\n",
513 reinterpret_cast<void*>(function_addr)); 515 reinterpret_cast<void*>(function_addr));
514 } 516 }
515 return false; 517 return false;
516 } 518 }
517 519
518 } // namespace internal 520 } // namespace internal
519 } // namespace v8 521 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698