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/runtime.h

Issue 1275013004: [runtime] Simplify TO_INT32/TO_UINT32 abstract operations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/runtime.js ('k') | src/runtime/runtime-numbers.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_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/zone.h" 10 #include "src/zone.h"
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 F(NumberToExponential, 2, 1) \ 397 F(NumberToExponential, 2, 1) \
398 F(NumberToPrecision, 2, 1) \ 398 F(NumberToPrecision, 2, 1) \
399 F(IsValidSmi, 1, 1) \ 399 F(IsValidSmi, 1, 1) \
400 F(StringToNumber, 1, 1) \ 400 F(StringToNumber, 1, 1) \
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(NumberToJSUint32, 1, 1) \
408 F(NumberToJSInt32, 1, 1) \
409 F(NumberToSmi, 1, 1) \ 407 F(NumberToSmi, 1, 1) \
410 F(NumberAdd, 2, 1) \ 408 F(NumberAdd, 2, 1) \
411 F(NumberSub, 2, 1) \ 409 F(NumberSub, 2, 1) \
412 F(NumberMul, 2, 1) \ 410 F(NumberMul, 2, 1) \
413 F(NumberUnaryMinus, 1, 1) \ 411 F(NumberUnaryMinus, 1, 1) \
414 F(NumberDiv, 2, 1) \ 412 F(NumberDiv, 2, 1) \
415 F(NumberMod, 2, 1) \ 413 F(NumberMod, 2, 1) \
416 F(NumberImul, 2, 1) \ 414 F(NumberImul, 2, 1) \
417 F(NumberOr, 2, 1) \ 415 F(NumberOr, 2, 1) \
418 F(NumberAnd, 2, 1) \ 416 F(NumberAnd, 2, 1) \
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
1001 inline bool Runtime::AtomicIsLockFree(uint32_t size) { 999 inline bool Runtime::AtomicIsLockFree(uint32_t size) {
1002 return size == 1 || size == 2 || size == 4; 1000 return size == 1 || size == 2 || size == 4;
1003 } 1001 }
1004 1002
1005 #endif 1003 #endif
1006 1004
1007 } // namespace internal 1005 } // namespace internal
1008 } // namespace v8 1006 } // namespace v8
1009 1007
1010 #endif // V8_RUNTIME_RUNTIME_H_ 1008 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/runtime.js ('k') | src/runtime/runtime-numbers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698