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

Side by Side Diff: src/runtime/runtime.h

Issue 1968953002: [runtime] Implement encodeURI as single runtime function. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix isalnum() bug Created 4 years, 7 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 F(StringCompare, 2, 1) \ 826 F(StringCompare, 2, 1) \
827 F(StringBuilderConcat, 3, 1) \ 827 F(StringBuilderConcat, 3, 1) \
828 F(StringBuilderJoin, 3, 1) \ 828 F(StringBuilderJoin, 3, 1) \
829 F(SparseJoinWithSeparator, 3, 1) \ 829 F(SparseJoinWithSeparator, 3, 1) \
830 F(StringToArray, 2, 1) \ 830 F(StringToArray, 2, 1) \
831 F(StringToLowerCase, 1, 1) \ 831 F(StringToLowerCase, 1, 1) \
832 F(StringToUpperCase, 1, 1) \ 832 F(StringToUpperCase, 1, 1) \
833 F(StringTrim, 3, 1) \ 833 F(StringTrim, 3, 1) \
834 F(TruncateString, 2, 1) \ 834 F(TruncateString, 2, 1) \
835 F(NewString, 2, 1) \ 835 F(NewString, 2, 1) \
836 F(Encode, 2, 1) \
Yang 2016/05/12 07:39:21 Can we choose a better name for this? Like URIEnco
836 F(StringLessThan, 2, 1) \ 837 F(StringLessThan, 2, 1) \
837 F(StringLessThanOrEqual, 2, 1) \ 838 F(StringLessThanOrEqual, 2, 1) \
838 F(StringGreaterThan, 2, 1) \ 839 F(StringGreaterThan, 2, 1) \
839 F(StringGreaterThanOrEqual, 2, 1) \ 840 F(StringGreaterThanOrEqual, 2, 1) \
840 F(StringEqual, 2, 1) \ 841 F(StringEqual, 2, 1) \
841 F(StringNotEqual, 2, 1) \ 842 F(StringNotEqual, 2, 1) \
842 F(FlattenString, 1, 1) \ 843 F(FlattenString, 1, 1) \
843 F(StringCharFromCode, 1, 1) \ 844 F(StringCharFromCode, 1, 1) \
844 F(StringCharAt, 2, 1) \ 845 F(StringCharAt, 2, 1) \
845 F(ExternalStringGetChar, 2, 1) \ 846 F(ExternalStringGetChar, 2, 1) \
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 1166
1166 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1167 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1167 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1168 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1168 STATIC_ASSERT(LANGUAGE_END == 3); 1169 STATIC_ASSERT(LANGUAGE_END == 3);
1169 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1170 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1170 1171
1171 } // namespace internal 1172 } // namespace internal
1172 } // namespace v8 1173 } // namespace v8
1173 1174
1174 #endif // V8_RUNTIME_RUNTIME_H_ 1175 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698