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

Side by Side Diff: src/runtime/runtime.h

Issue 1378533002: [es6] Introduce %ToInteger and %ToLength. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/unicode.h" 10 #include "src/unicode.h"
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 F(NumberToRadixString, 2, 1) \ 406 F(NumberToRadixString, 2, 1) \
407 F(NumberToFixed, 2, 1) \ 407 F(NumberToFixed, 2, 1) \
408 F(NumberToExponential, 2, 1) \ 408 F(NumberToExponential, 2, 1) \
409 F(NumberToPrecision, 2, 1) \ 409 F(NumberToPrecision, 2, 1) \
410 F(IsValidSmi, 1, 1) \ 410 F(IsValidSmi, 1, 1) \
411 F(StringToNumber, 1, 1) \ 411 F(StringToNumber, 1, 1) \
412 F(StringParseInt, 2, 1) \ 412 F(StringParseInt, 2, 1) \
413 F(StringParseFloat, 1, 1) \ 413 F(StringParseFloat, 1, 1) \
414 F(NumberToString, 1, 1) \ 414 F(NumberToString, 1, 1) \
415 F(NumberToStringSkipCache, 1, 1) \ 415 F(NumberToStringSkipCache, 1, 1) \
416 F(NumberToInteger, 1, 1) \
417 F(NumberToIntegerMapMinusZero, 1, 1) \ 416 F(NumberToIntegerMapMinusZero, 1, 1) \
418 F(NumberToSmi, 1, 1) \ 417 F(NumberToSmi, 1, 1) \
419 F(NumberImul, 2, 1) \ 418 F(NumberImul, 2, 1) \
420 F(SmiLexicographicCompare, 2, 1) \ 419 F(SmiLexicographicCompare, 2, 1) \
421 F(MaxSmi, 0, 1) \ 420 F(MaxSmi, 0, 1) \
422 F(IsSmi, 1, 1) \ 421 F(IsSmi, 1, 1) \
423 F(GetRootNaN, 0, 1) 422 F(GetRootNaN, 0, 1)
424 423
425 424
426 #define FOR_EACH_INTRINSIC_OBJECT(F) \ 425 #define FOR_EACH_INTRINSIC_OBJECT(F) \
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 F(IsSpecObject, 1, 1) \ 477 F(IsSpecObject, 1, 1) \
479 F(IsStrong, 1, 1) \ 478 F(IsStrong, 1, 1) \
480 F(ClassOf, 1, 1) \ 479 F(ClassOf, 1, 1) \
481 F(DefineGetterPropertyUnchecked, 4, 1) \ 480 F(DefineGetterPropertyUnchecked, 4, 1) \
482 F(DefineSetterPropertyUnchecked, 4, 1) \ 481 F(DefineSetterPropertyUnchecked, 4, 1) \
483 F(ToObject, 1, 1) \ 482 F(ToObject, 1, 1) \
484 F(ToPrimitive, 1, 1) \ 483 F(ToPrimitive, 1, 1) \
485 F(ToPrimitive_Number, 1, 1) \ 484 F(ToPrimitive_Number, 1, 1) \
486 F(ToPrimitive_String, 1, 1) \ 485 F(ToPrimitive_String, 1, 1) \
487 F(ToNumber, 1, 1) \ 486 F(ToNumber, 1, 1) \
487 F(ToInteger, 1, 1) \
488 F(ToLength, 1, 1) \
488 F(ToString, 1, 1) \ 489 F(ToString, 1, 1) \
489 F(ToName, 1, 1) \ 490 F(ToName, 1, 1) \
490 F(Equals, 2, 1) \ 491 F(Equals, 2, 1) \
491 F(StrictEquals, 2, 1) \ 492 F(StrictEquals, 2, 1) \
492 F(Compare, 3, 1) \ 493 F(Compare, 3, 1) \
493 F(Compare_Strong, 3, 1) \ 494 F(Compare_Strong, 3, 1) \
494 F(InstanceOf, 2, 1) \ 495 F(InstanceOf, 2, 1) \
495 F(HasInPrototypeChain, 2, 1) \ 496 F(HasInPrototypeChain, 2, 1) \
496 F(CreateIterResultObject, 2, 1) \ 497 F(CreateIterResultObject, 2, 1) \
497 F(IsAccessCheckNeeded, 1, 1) 498 F(IsAccessCheckNeeded, 1, 1)
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after
1239 1240
1240 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1241 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1241 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1242 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1242 STATIC_ASSERT(LANGUAGE_END == 3); 1243 STATIC_ASSERT(LANGUAGE_END == 3);
1243 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1244 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1244 1245
1245 } // namespace internal 1246 } // namespace internal
1246 } // namespace v8 1247 } // namespace v8
1247 1248
1248 #endif // V8_RUNTIME_RUNTIME_H_ 1249 #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