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

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

Issue 1324713002: [es6] Implement Date.prototype[@@toPrimitive] as C++ builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address Michi's comments. Created 5 years, 3 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/objects.cc ('k') | src/runtime/runtime-object.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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 F(ObjectEquals, 2, 1) \ 488 F(ObjectEquals, 2, 1) \
489 F(IsSpecObject, 1, 1) \ 489 F(IsSpecObject, 1, 1) \
490 F(IsStrong, 1, 1) \ 490 F(IsStrong, 1, 1) \
491 F(ClassOf, 1, 1) \ 491 F(ClassOf, 1, 1) \
492 F(DefineGetterPropertyUnchecked, 4, 1) \ 492 F(DefineGetterPropertyUnchecked, 4, 1) \
493 F(DefineSetterPropertyUnchecked, 4, 1) \ 493 F(DefineSetterPropertyUnchecked, 4, 1) \
494 F(ToObject, 1, 1) \ 494 F(ToObject, 1, 1) \
495 F(ToPrimitive, 1, 1) \ 495 F(ToPrimitive, 1, 1) \
496 F(ToPrimitive_Number, 1, 1) \ 496 F(ToPrimitive_Number, 1, 1) \
497 F(ToPrimitive_String, 1, 1) \ 497 F(ToPrimitive_String, 1, 1) \
498 F(OrdinaryToPrimitive, 2, 1) \
499 F(ToNumber, 1, 1) \ 498 F(ToNumber, 1, 1) \
500 F(ToString, 1, 1) \ 499 F(ToString, 1, 1) \
501 F(ToName, 1, 1) \ 500 F(ToName, 1, 1) \
502 F(StrictEquals, 2, 1) \ 501 F(StrictEquals, 2, 1) \
503 F(InstanceOf, 2, 1) \ 502 F(InstanceOf, 2, 1) \
504 F(HasInPrototypeChain, 2, 1) 503 F(HasInPrototypeChain, 2, 1)
505 504
506 505
507 #define FOR_EACH_INTRINSIC_OBSERVE(F) \ 506 #define FOR_EACH_INTRINSIC_OBSERVE(F) \
508 F(IsObserved, 1, 1) \ 507 F(IsObserved, 1, 1) \
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
1253 inline bool Runtime::AtomicIsLockFree(uint32_t size) { 1252 inline bool Runtime::AtomicIsLockFree(uint32_t size) {
1254 return size == 1 || size == 2 || size == 4; 1253 return size == 1 || size == 2 || size == 4;
1255 } 1254 }
1256 1255
1257 #endif 1256 #endif
1258 1257
1259 } // namespace internal 1258 } // namespace internal
1260 } // namespace v8 1259 } // namespace v8
1261 1260
1262 #endif // V8_RUNTIME_RUNTIME_H_ 1261 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime/runtime-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698