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

Side by Side Diff: src/objects.h

Issue 17155010: Use type feedback for Array (non-constructor) call sites. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Nit fixin' Created 7 years, 6 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/ia32/stub-cache-ia32.cc ('k') | src/stub-cache.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 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 5842 matching lines...) Expand 10 before | Expand all | Expand 10 after
5853 V(Math, acos, MathACos) \ 5853 V(Math, acos, MathACos) \
5854 V(Math, atan, MathATan) \ 5854 V(Math, atan, MathATan) \
5855 V(Math, exp, MathExp) \ 5855 V(Math, exp, MathExp) \
5856 V(Math, sqrt, MathSqrt) \ 5856 V(Math, sqrt, MathSqrt) \
5857 V(Math, pow, MathPow) \ 5857 V(Math, pow, MathPow) \
5858 V(Math, random, MathRandom) \ 5858 V(Math, random, MathRandom) \
5859 V(Math, max, MathMax) \ 5859 V(Math, max, MathMax) \
5860 V(Math, min, MathMin) \ 5860 V(Math, min, MathMin) \
5861 V(Math, imul, MathImul) 5861 V(Math, imul, MathImul)
5862 5862
5863
5864 enum BuiltinFunctionId { 5863 enum BuiltinFunctionId {
5864 kArrayCode,
5865 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ 5865 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \
5866 k##name, 5866 k##name,
5867 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) 5867 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID)
5868 #undef DECLARE_FUNCTION_ID 5868 #undef DECLARE_FUNCTION_ID
5869 // Fake id for a special case of Math.pow. Note, it continues the 5869 // Fake id for a special case of Math.pow. Note, it continues the
5870 // list of math functions. 5870 // list of math functions.
5871 kMathPowHalf, 5871 kMathPowHalf,
5872 kFirstMathFunctionId = kMathFloor 5872 kFirstMathFunctionId = kMathFloor
5873 }; 5873 };
5874 5874
(...skipping 3825 matching lines...) Expand 10 before | Expand all | Expand 10 after
9700 } else { 9700 } else {
9701 value &= ~(1 << bit_position); 9701 value &= ~(1 << bit_position);
9702 } 9702 }
9703 return value; 9703 return value;
9704 } 9704 }
9705 }; 9705 };
9706 9706
9707 } } // namespace v8::internal 9707 } } // namespace v8::internal
9708 9708
9709 #endif // V8_OBJECTS_H_ 9709 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/stub-cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698