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

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

Issue 719403005: One instead of two runtime calls when initializing regexp. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed comments Created 6 years, 1 month 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 | « src/regexp.js ('k') | src/runtime/runtime-regexp.cc » ('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 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/objects.h" 9 #include "src/objects.h"
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 F(MathAsin, 1, 1) \ 148 F(MathAsin, 1, 1) \
149 F(MathAtan, 1, 1) \ 149 F(MathAtan, 1, 1) \
150 F(MathFloorRT, 1, 1) \ 150 F(MathFloorRT, 1, 1) \
151 F(MathAtan2, 2, 1) \ 151 F(MathAtan2, 2, 1) \
152 F(MathExpRT, 1, 1) \ 152 F(MathExpRT, 1, 1) \
153 F(RoundNumber, 1, 1) \ 153 F(RoundNumber, 1, 1) \
154 F(MathFround, 1, 1) \ 154 F(MathFround, 1, 1) \
155 F(RemPiO2, 1, 1) \ 155 F(RemPiO2, 1, 1) \
156 \ 156 \
157 /* Regular expressions */ \ 157 /* Regular expressions */ \
158 F(RegExpCompile, 3, 1) \ 158 F(RegExpInitializeAndCompile, 3, 1) \
159 F(RegExpExecMultiple, 4, 1) \ 159 F(RegExpExecMultiple, 4, 1) \
160 F(RegExpInitializeObject, 6, 1) \
161 \ 160 \
162 /* JSON */ \ 161 /* JSON */ \
163 F(ParseJson, 1, 1) \ 162 F(ParseJson, 1, 1) \
164 F(BasicJSONStringify, 1, 1) \ 163 F(BasicJSONStringify, 1, 1) \
165 F(QuoteJSONString, 1, 1) \ 164 F(QuoteJSONString, 1, 1) \
166 \ 165 \
167 /* Strings */ \ 166 /* Strings */ \
168 F(StringIndexOf, 3, 1) \ 167 F(StringIndexOf, 3, 1) \
169 F(StringLastIndexOf, 3, 1) \ 168 F(StringLastIndexOf, 3, 1) \
170 F(StringLocaleCompare, 2, 1) \ 169 F(StringLocaleCompare, 2, 1) \
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; 890 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {};
892 891
893 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 892 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
894 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 893 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
895 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; 894 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {};
896 895
897 } // namespace internal 896 } // namespace internal
898 } // namespace v8 897 } // namespace v8
899 898
900 #endif // V8_RUNTIME_RUNTIME_H_ 899 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/regexp.js ('k') | src/runtime/runtime-regexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698