| 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 1152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1163 | 1163 |
| 1164 // Get the intrinsic function with the given FunctionId. | 1164 // Get the intrinsic function with the given FunctionId. |
| 1165 static const Function* FunctionForId(FunctionId id); | 1165 static const Function* FunctionForId(FunctionId id); |
| 1166 | 1166 |
| 1167 // Get the intrinsic function with the given function entry address. | 1167 // Get the intrinsic function with the given function entry address. |
| 1168 static const Function* FunctionForEntry(Address ref); | 1168 static const Function* FunctionForEntry(Address ref); |
| 1169 | 1169 |
| 1170 // Get the runtime intrinsic function table. | 1170 // Get the runtime intrinsic function table. |
| 1171 static const Function* RuntimeFunctionTable(Isolate* isolate); | 1171 static const Function* RuntimeFunctionTable(Isolate* isolate); |
| 1172 | 1172 |
| 1173 MUST_USE_RESULT static MaybeHandle<Object> DeleteObjectProperty( | 1173 MUST_USE_RESULT static Maybe<bool> DeleteObjectProperty( |
| 1174 Isolate* isolate, Handle<JSReceiver> receiver, Handle<Object> key, | 1174 Isolate* isolate, Handle<JSReceiver> receiver, Handle<Object> key, |
| 1175 LanguageMode language_mode); | 1175 LanguageMode language_mode); |
| 1176 | 1176 |
| 1177 MUST_USE_RESULT static MaybeHandle<Object> SetObjectProperty( | 1177 MUST_USE_RESULT static MaybeHandle<Object> SetObjectProperty( |
| 1178 Isolate* isolate, Handle<Object> object, Handle<Object> key, | 1178 Isolate* isolate, Handle<Object> object, Handle<Object> key, |
| 1179 Handle<Object> value, LanguageMode language_mode); | 1179 Handle<Object> value, LanguageMode language_mode); |
| 1180 | 1180 |
| 1181 MUST_USE_RESULT static MaybeHandle<Object> GetObjectProperty( | 1181 MUST_USE_RESULT static MaybeHandle<Object> GetObjectProperty( |
| 1182 Isolate* isolate, Handle<Object> object, Handle<Object> key, | 1182 Isolate* isolate, Handle<Object> object, Handle<Object> key, |
| 1183 LanguageMode language_mode = SLOPPY); | 1183 LanguageMode language_mode = SLOPPY); |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1262 | 1262 |
| 1263 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1263 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 1264 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1264 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 1265 STATIC_ASSERT(LANGUAGE_END == 3); | 1265 STATIC_ASSERT(LANGUAGE_END == 3); |
| 1266 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1266 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
| 1267 | 1267 |
| 1268 } // namespace internal | 1268 } // namespace internal |
| 1269 } // namespace v8 | 1269 } // namespace v8 |
| 1270 | 1270 |
| 1271 #endif // V8_RUNTIME_RUNTIME_H_ | 1271 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |