OLD | NEW |
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_RUNTIME_H_ | 5 #ifndef V8_RUNTIME_RUNTIME_H_ |
6 #define V8_RUNTIME_RUNTIME_H_ | 6 #define V8_RUNTIME_RUNTIME_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/objects.h" | 9 #include "src/objects.h" |
10 #include "src/unicode.h" | 10 #include "src/unicode.h" |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 F(StringParseInt, 2, 1) \ | 401 F(StringParseInt, 2, 1) \ |
402 F(StringParseFloat, 1, 1) \ | 402 F(StringParseFloat, 1, 1) \ |
403 F(NumberToString, 1, 1) \ | 403 F(NumberToString, 1, 1) \ |
404 F(NumberToStringSkipCache, 1, 1) \ | 404 F(NumberToStringSkipCache, 1, 1) \ |
405 F(NumberToInteger, 1, 1) \ | 405 F(NumberToInteger, 1, 1) \ |
406 F(NumberToIntegerMapMinusZero, 1, 1) \ | 406 F(NumberToIntegerMapMinusZero, 1, 1) \ |
407 F(NumberToSmi, 1, 1) \ | 407 F(NumberToSmi, 1, 1) \ |
408 F(NumberAdd, 2, 1) \ | 408 F(NumberAdd, 2, 1) \ |
409 F(NumberSub, 2, 1) \ | 409 F(NumberSub, 2, 1) \ |
410 F(NumberMul, 2, 1) \ | 410 F(NumberMul, 2, 1) \ |
411 F(NumberUnaryMinus, 1, 1) \ | |
412 F(NumberDiv, 2, 1) \ | 411 F(NumberDiv, 2, 1) \ |
413 F(NumberMod, 2, 1) \ | 412 F(NumberMod, 2, 1) \ |
414 F(NumberImul, 2, 1) \ | 413 F(NumberImul, 2, 1) \ |
415 F(NumberOr, 2, 1) \ | 414 F(NumberOr, 2, 1) \ |
416 F(NumberAnd, 2, 1) \ | 415 F(NumberAnd, 2, 1) \ |
417 F(NumberXor, 2, 1) \ | 416 F(NumberXor, 2, 1) \ |
418 F(NumberShl, 2, 1) \ | 417 F(NumberShl, 2, 1) \ |
419 F(NumberShr, 2, 1) \ | 418 F(NumberShr, 2, 1) \ |
420 F(NumberSar, 2, 1) \ | 419 F(NumberSar, 2, 1) \ |
421 F(NumberEquals, 2, 1) \ | 420 F(NumberEquals, 2, 1) \ |
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1244 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 1243 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
1245 return size == 1 || size == 2 || size == 4; | 1244 return size == 1 || size == 2 || size == 4; |
1246 } | 1245 } |
1247 | 1246 |
1248 #endif | 1247 #endif |
1249 | 1248 |
1250 } // namespace internal | 1249 } // namespace internal |
1251 } // namespace v8 | 1250 } // namespace v8 |
1252 | 1251 |
1253 #endif // V8_RUNTIME_RUNTIME_H_ | 1252 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |