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

Side by Side Diff: src/runtime.h

Issue 17870002: Add %_DebugBreakInOptimizedCode() pseudo function call (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: blacklisted in fuzz-natives test; cleaned up the blacklist Created 7 years, 5 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/hydrogen.cc ('k') | test/mjsunit/fuzz-natives-part1.js » ('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 // 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 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 F(MathSin, 1, 1) \ 590 F(MathSin, 1, 1) \
591 F(MathCos, 1, 1) \ 591 F(MathCos, 1, 1) \
592 F(MathTan, 1, 1) \ 592 F(MathTan, 1, 1) \
593 F(MathSqrt, 1, 1) \ 593 F(MathSqrt, 1, 1) \
594 F(MathLog, 1, 1) \ 594 F(MathLog, 1, 1) \
595 F(IsRegExpEquivalent, 2, 1) \ 595 F(IsRegExpEquivalent, 2, 1) \
596 F(HasCachedArrayIndex, 1, 1) \ 596 F(HasCachedArrayIndex, 1, 1) \
597 F(GetCachedArrayIndex, 1, 1) \ 597 F(GetCachedArrayIndex, 1, 1) \
598 F(FastAsciiArrayJoin, 2, 1) \ 598 F(FastAsciiArrayJoin, 2, 1) \
599 F(GeneratorNext, 2, 1) \ 599 F(GeneratorNext, 2, 1) \
600 F(GeneratorThrow, 2, 1) 600 F(GeneratorThrow, 2, 1) \
601 F(DebugBreakInOptimizedCode, 0, 1)
601 602
602 603
603 // ---------------------------------------------------------------------------- 604 // ----------------------------------------------------------------------------
604 // INLINE_RUNTIME_FUNCTION_LIST defines all inlined functions accessed 605 // INLINE_RUNTIME_FUNCTION_LIST defines all inlined functions accessed
605 // with a native call of the form %_name from within JS code that also have 606 // with a native call of the form %_name from within JS code that also have
606 // a corresponding runtime function, that is called for slow cases. 607 // a corresponding runtime function, that is called for slow cases.
607 // Entries have the form F(name, number of arguments, number of return values). 608 // Entries have the form F(name, number of arguments, number of return values).
608 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ 609 #define INLINE_RUNTIME_FUNCTION_LIST(F) \
609 F(ClassOf, 1, 1) \ 610 F(ClassOf, 1, 1) \
610 F(StringCharCodeAt, 2, 1) \ 611 F(StringCharCodeAt, 2, 1) \
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 //--------------------------------------------------------------------------- 811 //---------------------------------------------------------------------------
811 // Constants used by interface to runtime functions. 812 // Constants used by interface to runtime functions.
812 813
813 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 814 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
814 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 815 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
815 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 816 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
816 817
817 } } // namespace v8::internal 818 } } // namespace v8::internal
818 819
819 #endif // V8_RUNTIME_H_ 820 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | test/mjsunit/fuzz-natives-part1.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698