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

Side by Side Diff: src/objects.h

Issue 2638393002: [builtins] Add String.prototype.indexOf fast path in TF (Closed)
Patch Set: update comments Created 3 years, 11 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 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 7002 matching lines...) Expand 10 before | Expand all | Expand 10 after
7013 V(Date.prototype, getMonth, DateGetMonth) \ 7013 V(Date.prototype, getMonth, DateGetMonth) \
7014 V(Date.prototype, getSeconds, DateGetSeconds) \ 7014 V(Date.prototype, getSeconds, DateGetSeconds) \
7015 V(Date.prototype, getTime, DateGetTime) \ 7015 V(Date.prototype, getTime, DateGetTime) \
7016 V(Function.prototype, apply, FunctionApply) \ 7016 V(Function.prototype, apply, FunctionApply) \
7017 V(Function.prototype, call, FunctionCall) \ 7017 V(Function.prototype, call, FunctionCall) \
7018 V(Object.prototype, hasOwnProperty, ObjectHasOwnProperty) \ 7018 V(Object.prototype, hasOwnProperty, ObjectHasOwnProperty) \
7019 V(RegExp.prototype, compile, RegExpCompile) \ 7019 V(RegExp.prototype, compile, RegExpCompile) \
7020 V(RegExp.prototype, exec, RegExpExec) \ 7020 V(RegExp.prototype, exec, RegExpExec) \
7021 V(RegExp.prototype, test, RegExpTest) \ 7021 V(RegExp.prototype, test, RegExpTest) \
7022 V(RegExp.prototype, toString, RegExpToString) \ 7022 V(RegExp.prototype, toString, RegExpToString) \
7023 V(String, fromCharCode, StringFromCharCode) \
7024 V(String, fromCodePoint, StringFromCodePoint) \
7025 V(String.prototype, charAt, StringCharAt) \
7023 V(String.prototype, charCodeAt, StringCharCodeAt) \ 7026 V(String.prototype, charCodeAt, StringCharCodeAt) \
7024 V(String.prototype, charAt, StringCharAt) \
7025 V(String.prototype, codePointAt, StringCodePointAt) \ 7027 V(String.prototype, codePointAt, StringCodePointAt) \
7026 V(String.prototype, concat, StringConcat) \ 7028 V(String.prototype, concat, StringConcat) \
7027 V(String.prototype, endsWith, StringEndsWith) \ 7029 V(String.prototype, endsWith, StringEndsWith) \
7028 V(String.prototype, includes, StringIncludes) \ 7030 V(String.prototype, includes, StringIncludes) \
7029 V(String.prototype, indexOf, StringIndexOf) \ 7031 V(String.prototype, indexOf, StringIndexOf) \
7030 V(String.prototype, lastIndexOf, StringLastIndexOf) \ 7032 V(String.prototype, lastIndexOf, StringLastIndexOf) \
7031 V(String.prototype, repeat, StringRepeat) \ 7033 V(String.prototype, repeat, StringRepeat) \
7032 V(String.prototype, slice, StringSlice) \ 7034 V(String.prototype, slice, StringSlice) \
7033 V(String.prototype, startsWith, StringStartsWith) \ 7035 V(String.prototype, startsWith, StringStartsWith) \
7036 V(String.prototype, substring, StringSubstring) \
7034 V(String.prototype, substr, StringSubstr) \ 7037 V(String.prototype, substr, StringSubstr) \
7035 V(String.prototype, substring, StringSubstring) \
7036 V(String.prototype, toLowerCase, StringToLowerCase) \ 7038 V(String.prototype, toLowerCase, StringToLowerCase) \
7037 V(String.prototype, toString, StringToString) \ 7039 V(String.prototype, toString, StringToString) \
7038 V(String.prototype, toUpperCase, StringToUpperCase) \ 7040 V(String.prototype, toUpperCase, StringToUpperCase) \
7039 V(String.prototype, trim, StringTrim) \
7040 V(String.prototype, trimLeft, StringTrimLeft) \ 7041 V(String.prototype, trimLeft, StringTrimLeft) \
7041 V(String.prototype, trimRight, StringTrimRight) \ 7042 V(String.prototype, trimRight, StringTrimRight) \
7043 V(String.prototype, trim, StringTrim) \
7042 V(String.prototype, valueOf, StringValueOf) \ 7044 V(String.prototype, valueOf, StringValueOf) \
7043 V(String, fromCharCode, StringFromCharCode) \
7044 V(String, fromCodePoint, StringFromCodePoint) \
7045 V(String, raw, StringRaw) \ 7045 V(String, raw, StringRaw) \
7046 V(Math, random, MathRandom) \ 7046 V(Math, random, MathRandom) \
7047 V(Math, floor, MathFloor) \ 7047 V(Math, floor, MathFloor) \
7048 V(Math, round, MathRound) \ 7048 V(Math, round, MathRound) \
7049 V(Math, ceil, MathCeil) \ 7049 V(Math, ceil, MathCeil) \
7050 V(Math, abs, MathAbs) \ 7050 V(Math, abs, MathAbs) \
7051 V(Math, log, MathLog) \ 7051 V(Math, log, MathLog) \
7052 V(Math, log1p, MathLog1p) \ 7052 V(Math, log1p, MathLog1p) \
7053 V(Math, log2, MathLog2) \ 7053 V(Math, log2, MathLog2) \
7054 V(Math, log10, MathLog10) \ 7054 V(Math, log10, MathLog10) \
(...skipping 4595 matching lines...) Expand 10 before | Expand all | Expand 10 after
11650 } 11650 }
11651 }; 11651 };
11652 11652
11653 11653
11654 } // NOLINT, false-positive due to second-order macros. 11654 } // NOLINT, false-positive due to second-order macros.
11655 } // NOLINT, false-positive due to second-order macros. 11655 } // NOLINT, false-positive due to second-order macros.
11656 11656
11657 #include "src/objects/object-macros-undef.h" 11657 #include "src/objects/object-macros-undef.h"
11658 11658
11659 #endif // V8_OBJECTS_H_ 11659 #endif // V8_OBJECTS_H_
OLDNEW
« src/compiler/register-allocator-verifier.cc ('K') | « src/interface-descriptors.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698