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

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

Issue 1362383002: [Interpreter] Add CallRuntime support to the interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Move function address calculation into bytecode handler and have an option on CEntry stub for argv_… 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
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 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 1159
1160 // Get the intrinsic function with the given name, which must be internalized. 1160 // Get the intrinsic function with the given name, which must be internalized.
1161 static const Function* FunctionForName(Handle<String> name); 1161 static const Function* FunctionForName(Handle<String> name);
1162 1162
1163 // Get the intrinsic function with the given FunctionId. 1163 // Get the intrinsic function with the given FunctionId.
1164 static const Function* FunctionForId(FunctionId id); 1164 static const Function* FunctionForId(FunctionId id);
1165 1165
1166 // Get the intrinsic function with the given function entry address. 1166 // Get the intrinsic function with the given function entry address.
1167 static const Function* FunctionForEntry(Address ref); 1167 static const Function* FunctionForEntry(Address ref);
1168 1168
1169 // Get the runtime intrinsic function table.
1170 static const Function* RuntimeFunctionTable(Isolate* isolate);
1171
1169 MUST_USE_RESULT static MaybeHandle<Object> DeleteObjectProperty( 1172 MUST_USE_RESULT static MaybeHandle<Object> DeleteObjectProperty(
1170 Isolate* isolate, Handle<JSReceiver> receiver, Handle<Object> key, 1173 Isolate* isolate, Handle<JSReceiver> receiver, Handle<Object> key,
1171 LanguageMode language_mode); 1174 LanguageMode language_mode);
1172 1175
1173 MUST_USE_RESULT static MaybeHandle<Object> SetObjectProperty( 1176 MUST_USE_RESULT static MaybeHandle<Object> SetObjectProperty(
1174 Isolate* isolate, Handle<Object> object, Handle<Object> key, 1177 Isolate* isolate, Handle<Object> object, Handle<Object> key,
1175 Handle<Object> value, LanguageMode language_mode); 1178 Handle<Object> value, LanguageMode language_mode);
1176 1179
1177 MUST_USE_RESULT static MaybeHandle<Object> GetObjectProperty( 1180 MUST_USE_RESULT static MaybeHandle<Object> GetObjectProperty(
1178 Isolate* isolate, Handle<Object> object, Handle<Object> key, 1181 Isolate* isolate, Handle<Object> object, Handle<Object> key,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
1226 1229
1227 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1230 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1228 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1231 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1229 STATIC_ASSERT(LANGUAGE_END == 3); 1232 STATIC_ASSERT(LANGUAGE_END == 3);
1230 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1233 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1231 1234
1232 } // namespace internal 1235 } // namespace internal
1233 } // namespace v8 1236 } // namespace v8
1234 1237
1235 #endif // V8_RUNTIME_RUNTIME_H_ 1238 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698