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

Side by Side Diff: src/runtime.h

Issue 521041: Improve keyed loads on strings by using a new stub (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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 | Annotate | Revision Log
« no previous file with comments | « src/ic.cc ('k') | src/runtime.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 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 F(Math_sin, 1, 1) \ 139 F(Math_sin, 1, 1) \
140 F(Math_sqrt, 1, 1) \ 140 F(Math_sqrt, 1, 1) \
141 F(Math_tan, 1, 1) \ 141 F(Math_tan, 1, 1) \
142 \ 142 \
143 /* Regular expressions */ \ 143 /* Regular expressions */ \
144 F(RegExpCompile, 3, 1) \ 144 F(RegExpCompile, 3, 1) \
145 F(RegExpExec, 4, 1) \ 145 F(RegExpExec, 4, 1) \
146 \ 146 \
147 /* Strings */ \ 147 /* Strings */ \
148 F(StringCharCodeAt, 2, 1) \ 148 F(StringCharCodeAt, 2, 1) \
149 F(StringCharAt, 2, 1) \
149 F(StringIndexOf, 3, 1) \ 150 F(StringIndexOf, 3, 1) \
150 F(StringLastIndexOf, 3, 1) \ 151 F(StringLastIndexOf, 3, 1) \
151 F(StringLocaleCompare, 2, 1) \ 152 F(StringLocaleCompare, 2, 1) \
152 F(SubString, 3, 1) \ 153 F(SubString, 3, 1) \
153 F(StringReplaceRegExpWithString, 4, 1) \ 154 F(StringReplaceRegExpWithString, 4, 1) \
154 F(StringMatch, 3, 1) \ 155 F(StringMatch, 3, 1) \
155 F(StringTrim, 3, 1) \ 156 F(StringTrim, 3, 1) \
156 \ 157 \
157 /* Numbers */ \ 158 /* Numbers */ \
158 F(NumberToRadixString, 2, 1) \ 159 F(NumberToRadixString, 2, 1) \
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 int position); 421 int position);
421 422
422 // Helper functions used stubs. 423 // Helper functions used stubs.
423 static void PerformGC(Object* result); 424 static void PerformGC(Object* result);
424 }; 425 };
425 426
426 427
427 } } // namespace v8::internal 428 } } // namespace v8::internal
428 429
429 #endif // V8_RUNTIME_H_ 430 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698