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

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

Issue 1428203003: Use in-object fields instead of private symbols for regexp slots. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 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/objects-inl.h ('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/unicode.h" 10 #include "src/unicode.h"
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 F(GetHandler, 1, 1) \ 549 F(GetHandler, 1, 1) \
550 F(GetCallTrap, 1, 1) \ 550 F(GetCallTrap, 1, 1) \
551 F(GetConstructTrap, 1, 1) \ 551 F(GetConstructTrap, 1, 1) \
552 F(Fix, 1, 1) 552 F(Fix, 1, 1)
553 553
554 554
555 #define FOR_EACH_INTRINSIC_REGEXP(F) \ 555 #define FOR_EACH_INTRINSIC_REGEXP(F) \
556 F(StringReplaceGlobalRegExpWithString, 4, 1) \ 556 F(StringReplaceGlobalRegExpWithString, 4, 1) \
557 F(StringSplit, 3, 1) \ 557 F(StringSplit, 3, 1) \
558 F(RegExpExec, 4, 1) \ 558 F(RegExpExec, 4, 1) \
559 F(RegExpFlags, 1, 1) \
560 F(RegExpSource, 1, 1) \
559 F(RegExpConstructResult, 3, 1) \ 561 F(RegExpConstructResult, 3, 1) \
560 F(RegExpInitializeAndCompile, 3, 1) \ 562 F(RegExpInitializeAndCompile, 3, 1) \
561 F(MaterializeRegExpLiteral, 4, 1) \ 563 F(MaterializeRegExpLiteral, 4, 1) \
562 F(RegExpExecMultiple, 4, 1) \ 564 F(RegExpExecMultiple, 4, 1) \
563 F(RegExpExecReThrow, 4, 1) \ 565 F(RegExpExecReThrow, 4, 1) \
564 F(IsRegExp, 1, 1) 566 F(IsRegExp, 1, 1)
565 567
566 568
567 #define FOR_EACH_INTRINSIC_SCOPES(F) \ 569 #define FOR_EACH_INTRINSIC_SCOPES(F) \
568 F(ThrowConstAssignError, 0, 1) \ 570 F(ThrowConstAssignError, 0, 1) \
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
1257 1259
1258 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1260 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1259 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1261 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1260 STATIC_ASSERT(LANGUAGE_END == 3); 1262 STATIC_ASSERT(LANGUAGE_END == 3);
1261 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1263 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1262 1264
1263 } // namespace internal 1265 } // namespace internal
1264 } // namespace v8 1266 } // namespace v8
1265 1267
1266 #endif // V8_RUNTIME_RUNTIME_H_ 1268 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime/runtime-regexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698