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

Side by Side Diff: src/runtime.h

Issue 280243002: Avoid name clashes of builtins and runtime functions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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/regexp.js ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_RUNTIME_H_ 5 #ifndef V8_RUNTIME_H_
6 #define V8_RUNTIME_H_ 6 #define V8_RUNTIME_H_
7 7
8 #include "allocation.h" 8 #include "allocation.h"
9 #include "zone.h" 9 #include "zone.h"
10 10
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 F(NumberEquals, 2, 1) \ 131 F(NumberEquals, 2, 1) \
132 F(StringEquals, 2, 1) \ 132 F(StringEquals, 2, 1) \
133 \ 133 \
134 F(NumberCompare, 3, 1) \ 134 F(NumberCompare, 3, 1) \
135 F(SmiLexicographicCompare, 2, 1) \ 135 F(SmiLexicographicCompare, 2, 1) \
136 \ 136 \
137 /* Math */ \ 137 /* Math */ \
138 F(MathAcos, 1, 1) \ 138 F(MathAcos, 1, 1) \
139 F(MathAsin, 1, 1) \ 139 F(MathAsin, 1, 1) \
140 F(MathAtan, 1, 1) \ 140 F(MathAtan, 1, 1) \
141 F(MathFloor, 1, 1) \ 141 F(MathFloorRT, 1, 1) \
142 F(MathAtan2, 2, 1) \ 142 F(MathAtan2, 2, 1) \
143 F(MathExp, 1, 1) \ 143 F(MathExpRT, 1, 1) \
144 F(RoundNumber, 1, 1) \ 144 F(RoundNumber, 1, 1) \
145 F(MathFround, 1, 1) \ 145 F(MathFround, 1, 1) \
146 \ 146 \
147 /* Regular expressions */ \ 147 /* Regular expressions */ \
148 F(RegExpCompile, 3, 1) \ 148 F(RegExpCompile, 3, 1) \
149 F(RegExpExecMultiple, 4, 1) \ 149 F(RegExpExecMultiple, 4, 1) \
150 F(RegExpInitializeObject, 5, 1) \ 150 F(RegExpInitializeObject, 5, 1) \
151 \ 151 \
152 /* JSON */ \ 152 /* JSON */ \
153 F(ParseJson, 1, 1) \ 153 F(ParseJson, 1, 1) \
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 F(TypedArrayMaxSizeInHeap, 0, 1) \ 677 F(TypedArrayMaxSizeInHeap, 0, 1) \
678 F(ArrayBufferViewGetByteLength, 1, 1) \ 678 F(ArrayBufferViewGetByteLength, 1, 1) \
679 F(ArrayBufferViewGetByteOffset, 1, 1) \ 679 F(ArrayBufferViewGetByteOffset, 1, 1) \
680 F(TypedArrayGetLength, 1, 1) \ 680 F(TypedArrayGetLength, 1, 1) \
681 /* ArrayBuffer */ \ 681 /* ArrayBuffer */ \
682 F(ArrayBufferGetByteLength, 1, 1) \ 682 F(ArrayBufferGetByteLength, 1, 1) \
683 /* Maths */ \ 683 /* Maths */ \
684 F(ConstructDouble, 2, 1) \ 684 F(ConstructDouble, 2, 1) \
685 F(DoubleHi, 1, 1) \ 685 F(DoubleHi, 1, 1) \
686 F(DoubleLo, 1, 1) \ 686 F(DoubleLo, 1, 1) \
687 F(MathSqrt, 1, 1) \ 687 F(MathSqrtRT, 1, 1) \
688 F(MathLog, 1, 1) \ 688 F(MathLog, 1, 1) \
689 /* Debugger */ \ 689 /* Debugger */ \
690 F(DebugCallbackSupportsStepping, 1, 1) 690 F(DebugCallbackSupportsStepping, 1, 1)
691 691
692 692
693 //--------------------------------------------------------------------------- 693 //---------------------------------------------------------------------------
694 // Runtime provides access to all C++ runtime functions. 694 // Runtime provides access to all C++ runtime functions.
695 695
696 class RuntimeState { 696 class RuntimeState {
697 public: 697 public:
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 895 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
896 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 896 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
897 897
898 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 898 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
899 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 899 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
900 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; 900 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
901 901
902 } } // namespace v8::internal 902 } } // namespace v8::internal
903 903
904 #endif // V8_RUNTIME_H_ 904 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/regexp.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698