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

Side by Side Diff: src/runtime.h

Issue 22184004: Desugar bitwise negation into XOR and kill all UnaryOp stuff. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Feedback. Created 7 years, 4 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
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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 \ 151 \
152 F(StringAdd, 2, 1) \ 152 F(StringAdd, 2, 1) \
153 F(StringBuilderConcat, 3, 1) \ 153 F(StringBuilderConcat, 3, 1) \
154 F(StringBuilderJoin, 3, 1) \ 154 F(StringBuilderJoin, 3, 1) \
155 F(SparseJoinWithSeparator, 3, 1) \ 155 F(SparseJoinWithSeparator, 3, 1) \
156 \ 156 \
157 /* Bit operations */ \ 157 /* Bit operations */ \
158 F(NumberOr, 2, 1) \ 158 F(NumberOr, 2, 1) \
159 F(NumberAnd, 2, 1) \ 159 F(NumberAnd, 2, 1) \
160 F(NumberXor, 2, 1) \ 160 F(NumberXor, 2, 1) \
161 F(NumberNot, 1, 1) \
162 \ 161 \
163 F(NumberShl, 2, 1) \ 162 F(NumberShl, 2, 1) \
164 F(NumberShr, 2, 1) \ 163 F(NumberShr, 2, 1) \
165 F(NumberSar, 2, 1) \ 164 F(NumberSar, 2, 1) \
166 \ 165 \
167 /* Comparisons */ \ 166 /* Comparisons */ \
168 F(NumberEquals, 2, 1) \ 167 F(NumberEquals, 2, 1) \
169 F(StringEquals, 2, 1) \ 168 F(StringEquals, 2, 1) \
170 \ 169 \
171 F(NumberCompare, 3, 1) \ 170 F(NumberCompare, 3, 1) \
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 //--------------------------------------------------------------------------- 822 //---------------------------------------------------------------------------
824 // Constants used by interface to runtime functions. 823 // Constants used by interface to runtime functions.
825 824
826 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 825 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
827 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 826 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
828 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 827 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
829 828
830 } } // namespace v8::internal 829 } } // namespace v8::internal
831 830
832 #endif // V8_RUNTIME_H_ 831 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/parser.cc ('k') | src/runtime.cc » ('j') | src/x64/lithium-codegen-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698