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

Side by Side Diff: src/codegen.h

Issue 1645001: Native construction of RegExp result objects, with in-object index and input. (Closed)
Patch Set: Created 10 years, 8 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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 F(ObjectEquals, 2, 1) \ 116 F(ObjectEquals, 2, 1) \
117 F(Log, 3, 1) \ 117 F(Log, 3, 1) \
118 F(RandomHeapNumber, 0, 1) \ 118 F(RandomHeapNumber, 0, 1) \
119 F(IsObject, 1, 1) \ 119 F(IsObject, 1, 1) \
120 F(IsFunction, 1, 1) \ 120 F(IsFunction, 1, 1) \
121 F(IsUndetectableObject, 1, 1) \ 121 F(IsUndetectableObject, 1, 1) \
122 F(StringAdd, 2, 1) \ 122 F(StringAdd, 2, 1) \
123 F(SubString, 3, 1) \ 123 F(SubString, 3, 1) \
124 F(StringCompare, 2, 1) \ 124 F(StringCompare, 2, 1) \
125 F(RegExpExec, 4, 1) \ 125 F(RegExpExec, 4, 1) \
126 F(RegExpConstructResult, 3, 1) \
126 F(NumberToString, 1, 1) \ 127 F(NumberToString, 1, 1) \
127 F(MathPow, 2, 1) \ 128 F(MathPow, 2, 1) \
128 F(MathSin, 1, 1) \ 129 F(MathSin, 1, 1) \
129 F(MathCos, 1, 1) \ 130 F(MathCos, 1, 1) \
130 F(MathSqrt, 1, 1) 131 F(MathSqrt, 1, 1)
131 132
132 133
133 // Support for "structured" code comments. 134 // Support for "structured" code comments.
134 #ifdef DEBUG 135 #ifdef DEBUG
135 136
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 private: 606 private:
606 Major MajorKey() { return ToBoolean; } 607 Major MajorKey() { return ToBoolean; }
607 int MinorKey() { return 0; } 608 int MinorKey() { return 0; }
608 }; 609 };
609 610
610 611
611 } // namespace internal 612 } // namespace internal
612 } // namespace v8 613 } // namespace v8
613 614
614 #endif // V8_CODEGEN_H_ 615 #endif // V8_CODEGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698