| 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/zone.h" | 10 #include "src/zone.h" |
| (...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 867 | 867 |
| 868 // Get the intrinsic function with the given name, which must be internalized. | 868 // Get the intrinsic function with the given name, which must be internalized. |
| 869 static const Function* FunctionForName(Handle<String> name); | 869 static const Function* FunctionForName(Handle<String> name); |
| 870 | 870 |
| 871 // Get the intrinsic function with the given FunctionId. | 871 // Get the intrinsic function with the given FunctionId. |
| 872 static const Function* FunctionForId(FunctionId id); | 872 static const Function* FunctionForId(FunctionId id); |
| 873 | 873 |
| 874 // Get the intrinsic function with the given function entry address. | 874 // Get the intrinsic function with the given function entry address. |
| 875 static const Function* FunctionForEntry(Address ref); | 875 static const Function* FunctionForEntry(Address ref); |
| 876 | 876 |
| 877 // Returns whether a runtime call supports being invoked via tail call. |
| 878 static bool SupportsTailCall(FunctionId id); |
| 879 |
| 877 MUST_USE_RESULT static MaybeHandle<Object> DeleteObjectProperty( | 880 MUST_USE_RESULT static MaybeHandle<Object> DeleteObjectProperty( |
| 878 Isolate* isolate, Handle<JSReceiver> receiver, Handle<Object> key, | 881 Isolate* isolate, Handle<JSReceiver> receiver, Handle<Object> key, |
| 879 LanguageMode language_mode); | 882 LanguageMode language_mode); |
| 880 | 883 |
| 881 MUST_USE_RESULT static MaybeHandle<Object> SetObjectProperty( | 884 MUST_USE_RESULT static MaybeHandle<Object> SetObjectProperty( |
| 882 Isolate* isolate, Handle<Object> object, Handle<Object> key, | 885 Isolate* isolate, Handle<Object> object, Handle<Object> key, |
| 883 Handle<Object> value, LanguageMode language_mode); | 886 Handle<Object> value, LanguageMode language_mode); |
| 884 | 887 |
| 885 MUST_USE_RESULT static MaybeHandle<Object> GetObjectProperty( | 888 MUST_USE_RESULT static MaybeHandle<Object> GetObjectProperty( |
| 886 Isolate* isolate, Handle<Object> object, Handle<Object> key, | 889 Isolate* isolate, Handle<Object> object, Handle<Object> key, |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 992 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 995 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
| 993 return size == 1 || size == 2 || size == 4; | 996 return size == 1 || size == 2 || size == 4; |
| 994 } | 997 } |
| 995 | 998 |
| 996 #endif | 999 #endif |
| 997 | 1000 |
| 998 } // namespace internal | 1001 } // namespace internal |
| 999 } // namespace v8 | 1002 } // namespace v8 |
| 1000 | 1003 |
| 1001 #endif // V8_RUNTIME_RUNTIME_H_ | 1004 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |