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

Unified Diff: src/runtime.h

Issue 14425011: api: Object::CachedProperty Base URL: gh:v8/v8.git@master
Patch Set: globalize reference Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/property.h ('k') | src/runtime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.h
diff --git a/src/runtime.h b/src/runtime.h
index 2a102e12f8f409626b77b63fa3616befee8faa4d..c1117c0561c2787689e0eca0b25e4b203c0a1534 100644
--- a/src/runtime.h
+++ b/src/runtime.h
@@ -34,6 +34,9 @@
namespace v8 {
namespace internal {
+// Forward declaration
+class LookupCache;
+
// The interface to C++ runtime functions.
// ----------------------------------------------------------------------------
@@ -711,7 +714,8 @@ class Runtime : public AllStatic {
Handle<Object> key,
Handle<Object> value,
PropertyAttributes attr,
- StrictModeFlag strict_mode);
+ StrictModeFlag strict_mode,
+ LookupCache* cache = NULL);
MUST_USE_RESULT static MaybeObject* SetObjectPropertyOrFail(
Isolate* isolate,
@@ -742,7 +746,8 @@ class Runtime : public AllStatic {
MUST_USE_RESULT static MaybeObject* GetObjectProperty(
Isolate* isolate,
Handle<Object> object,
- Handle<Object> key);
+ Handle<Object> key,
+ LookupCache* cache = NULL);
MUST_USE_RESULT static MaybeObject* GetObjectPropertyOrFail(
Isolate* isolate,
« no previous file with comments | « src/property.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698