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

Side by Side Diff: src/runtime.h

Issue 875001: Converted String.prototype.split with string to C++. (Closed)
Patch Set: Rewrote conditions to switch with fallthrough. Created 10 years, 9 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
« no previous file with comments | « no previous file | src/runtime.cc » ('j') | src/runtime.cc » ('J')
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 /* Conversions */ \ 86 /* Conversions */ \
87 F(ToBool, 1, 1) \ 87 F(ToBool, 1, 1) \
88 F(Typeof, 1, 1) \ 88 F(Typeof, 1, 1) \
89 \ 89 \
90 F(StringToNumber, 1, 1) \ 90 F(StringToNumber, 1, 1) \
91 F(StringFromCharCodeArray, 1, 1) \ 91 F(StringFromCharCodeArray, 1, 1) \
92 F(StringParseInt, 2, 1) \ 92 F(StringParseInt, 2, 1) \
93 F(StringParseFloat, 1, 1) \ 93 F(StringParseFloat, 1, 1) \
94 F(StringToLowerCase, 1, 1) \ 94 F(StringToLowerCase, 1, 1) \
95 F(StringToUpperCase, 1, 1) \ 95 F(StringToUpperCase, 1, 1) \
96 F(StringSplit, 3, 1) \
96 F(CharFromCode, 1, 1) \ 97 F(CharFromCode, 1, 1) \
97 F(URIEscape, 1, 1) \ 98 F(URIEscape, 1, 1) \
98 F(URIUnescape, 1, 1) \ 99 F(URIUnescape, 1, 1) \
99 \ 100 \
100 F(NumberToString, 1, 1) \ 101 F(NumberToString, 1, 1) \
101 F(NumberToInteger, 1, 1) \ 102 F(NumberToInteger, 1, 1) \
102 F(NumberToJSUint32, 1, 1) \ 103 F(NumberToJSUint32, 1, 1) \
103 F(NumberToJSInt32, 1, 1) \ 104 F(NumberToJSInt32, 1, 1) \
104 F(NumberToSmi, 1, 1) \ 105 F(NumberToSmi, 1, 1) \
105 \ 106 \
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 int position); 433 int position);
433 434
434 // Helper functions used stubs. 435 // Helper functions used stubs.
435 static void PerformGC(Object* result); 436 static void PerformGC(Object* result);
436 }; 437 };
437 438
438 439
439 } } // namespace v8::internal 440 } } // namespace v8::internal
440 441
441 #endif // V8_RUNTIME_H_ 442 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « no previous file | src/runtime.cc » ('j') | src/runtime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698