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

Side by Side Diff: src/code-stubs.h

Issue 6759025: Version 3.2.6 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 9 years, 8 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/bootstrapper.cc ('k') | src/code-stubs.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 #define CODE_STUB_LIST_ARM(V) \ 73 #define CODE_STUB_LIST_ARM(V) \
74 V(GetProperty) \ 74 V(GetProperty) \
75 V(SetProperty) \ 75 V(SetProperty) \
76 V(InvokeBuiltin) \ 76 V(InvokeBuiltin) \
77 V(RegExpCEntry) \ 77 V(RegExpCEntry) \
78 V(DirectCEntry) 78 V(DirectCEntry)
79 #else 79 #else
80 #define CODE_STUB_LIST_ARM(V) 80 #define CODE_STUB_LIST_ARM(V)
81 #endif 81 #endif
82 82
83 // List of code stubs only used on MIPS platforms.
84 #ifdef V8_TARGET_ARCH_MIPS
85 #define CODE_STUB_LIST_MIPS(V) \
86 V(RegExpCEntry)
87 #else
88 #define CODE_STUB_LIST_MIPS(V)
89 #endif
90
83 // Combined list of code stubs. 91 // Combined list of code stubs.
84 #define CODE_STUB_LIST(V) \ 92 #define CODE_STUB_LIST(V) \
85 CODE_STUB_LIST_ALL_PLATFORMS(V) \ 93 CODE_STUB_LIST_ALL_PLATFORMS(V) \
86 CODE_STUB_LIST_ARM(V) 94 CODE_STUB_LIST_ARM(V) \
95 CODE_STUB_LIST_MIPS(V)
87 96
88 // Mode to overwrite BinaryExpression values. 97 // Mode to overwrite BinaryExpression values.
89 enum OverwriteMode { NO_OVERWRITE, OVERWRITE_LEFT, OVERWRITE_RIGHT }; 98 enum OverwriteMode { NO_OVERWRITE, OVERWRITE_LEFT, OVERWRITE_RIGHT };
90 enum UnaryOverwriteMode { UNARY_OVERWRITE, UNARY_NO_OVERWRITE }; 99 enum UnaryOverwriteMode { UNARY_OVERWRITE, UNARY_NO_OVERWRITE };
91 100
92 101
93 // Stub is base classes of all stubs. 102 // Stub is base classes of all stubs.
94 class CodeStub BASE_EMBEDDED { 103 class CodeStub BASE_EMBEDDED {
95 public: 104 public:
96 enum Major { 105 enum Major {
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 private: 962 private:
954 MacroAssembler* masm_; 963 MacroAssembler* masm_;
955 bool previous_allow_; 964 bool previous_allow_;
956 965
957 DISALLOW_COPY_AND_ASSIGN(AllowStubCallsScope); 966 DISALLOW_COPY_AND_ASSIGN(AllowStubCallsScope);
958 }; 967 };
959 968
960 } } // namespace v8::internal 969 } } // namespace v8::internal
961 970
962 #endif // V8_CODE_STUBS_H_ 971 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698