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

Side by Side Diff: src/builtins.h

Issue 953563002: Implement experimental exponentiation operator (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: use Number() instead of OrderedNumber() to include NaN Created 5 years, 10 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
« no previous file with comments | « src/bootstrapper.cc ('k') | src/compiler/ast-graph-builder.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 // 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_BUILTINS_H_ 5 #ifndef V8_BUILTINS_H_
6 #define V8_BUILTINS_H_ 6 #define V8_BUILTINS_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // Define list of builtins implemented in JavaScript. 165 // Define list of builtins implemented in JavaScript.
166 #define BUILTINS_LIST_JS(V) \ 166 #define BUILTINS_LIST_JS(V) \
167 V(EQUALS, 1) \ 167 V(EQUALS, 1) \
168 V(STRICT_EQUALS, 1) \ 168 V(STRICT_EQUALS, 1) \
169 V(COMPARE, 2) \ 169 V(COMPARE, 2) \
170 V(ADD, 1) \ 170 V(ADD, 1) \
171 V(SUB, 1) \ 171 V(SUB, 1) \
172 V(MUL, 1) \ 172 V(MUL, 1) \
173 V(DIV, 1) \ 173 V(DIV, 1) \
174 V(MOD, 1) \ 174 V(MOD, 1) \
175 V(EXP, 1) \
175 V(BIT_OR, 1) \ 176 V(BIT_OR, 1) \
176 V(BIT_AND, 1) \ 177 V(BIT_AND, 1) \
177 V(BIT_XOR, 1) \ 178 V(BIT_XOR, 1) \
178 V(SHL, 1) \ 179 V(SHL, 1) \
179 V(SAR, 1) \ 180 V(SAR, 1) \
180 V(SHR, 1) \ 181 V(SHR, 1) \
181 V(DELETE, 2) \ 182 V(DELETE, 2) \
182 V(IN, 1) \ 183 V(IN, 1) \
183 V(INSTANCE_OF, 1) \ 184 V(INSTANCE_OF, 1) \
184 V(FILTER_KEY, 1) \ 185 V(FILTER_KEY, 1) \
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 344
344 friend class BuiltinFunctionTable; 345 friend class BuiltinFunctionTable;
345 friend class Isolate; 346 friend class Isolate;
346 347
347 DISALLOW_COPY_AND_ASSIGN(Builtins); 348 DISALLOW_COPY_AND_ASSIGN(Builtins);
348 }; 349 };
349 350
350 } } // namespace v8::internal 351 } } // namespace v8::internal
351 352
352 #endif // V8_BUILTINS_H_ 353 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698