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

Side by Side Diff: src/runtime.h

Issue 5122005: Add a fast case to Array.join when all the elements and the separator are fla... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/x64/codegen-x64.h » ('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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 F(IsFunction, 1, 1) \ 411 F(IsFunction, 1, 1) \
412 F(IsUndetectableObject, 1, 1) \ 412 F(IsUndetectableObject, 1, 1) \
413 F(IsSpecObject, 1, 1) \ 413 F(IsSpecObject, 1, 1) \
414 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \ 414 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \
415 F(MathPow, 2, 1) \ 415 F(MathPow, 2, 1) \
416 F(MathSin, 1, 1) \ 416 F(MathSin, 1, 1) \
417 F(MathCos, 1, 1) \ 417 F(MathCos, 1, 1) \
418 F(MathSqrt, 1, 1) \ 418 F(MathSqrt, 1, 1) \
419 F(IsRegExpEquivalent, 2, 1) \ 419 F(IsRegExpEquivalent, 2, 1) \
420 F(HasCachedArrayIndex, 1, 1) \ 420 F(HasCachedArrayIndex, 1, 1) \
421 F(GetCachedArrayIndex, 1, 1) 421 F(GetCachedArrayIndex, 1, 1) \
422 F(FastAsciiArrayJoin, 2, 1)
422 423
423 424
424 // ---------------------------------------------------------------------------- 425 // ----------------------------------------------------------------------------
425 // INLINE_AND_RUNTIME_FUNCTION_LIST defines all inlined functions accessed 426 // INLINE_AND_RUNTIME_FUNCTION_LIST defines all inlined functions accessed
426 // with a native call of the form %_name from within JS code that also have 427 // with a native call of the form %_name from within JS code that also have
427 // a corresponding runtime function, that is called for slow cases. 428 // a corresponding runtime function, that is called for slow cases.
428 // Entries have the form F(name, number of arguments, number of return values). 429 // Entries have the form F(name, number of arguments, number of return values).
429 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ 430 #define INLINE_RUNTIME_FUNCTION_LIST(F) \
430 F(IsConstructCall, 0, 1) \ 431 F(IsConstructCall, 0, 1) \
431 F(ClassOf, 1, 1) \ 432 F(ClassOf, 1, 1) \
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 int position); 535 int position);
535 536
536 // Helper functions used stubs. 537 // Helper functions used stubs.
537 static void PerformGC(Object* result); 538 static void PerformGC(Object* result);
538 }; 539 };
539 540
540 541
541 } } // namespace v8::internal 542 } } // namespace v8::internal
542 543
543 #endif // V8_RUNTIME_H_ 544 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/x64/codegen-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698