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

Unified Diff: src/handles.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/api.cc ('k') | src/handles.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/handles.h
diff --git a/src/handles.h b/src/handles.h
index 938d43b8a4e8ba418f85b7eb5ccd2a5ccfb6aad3..d1640327c3951b2b9794d4aa1332f6a0133592b7 100644
--- a/src/handles.h
+++ b/src/handles.h
@@ -34,6 +34,9 @@
namespace v8 {
namespace internal {
+// Forward declaration
+class LookupCache;
+
// ----------------------------------------------------------------------------
// A Handle provides a reference to an object that survives relocation by
// the garbage collector.
@@ -220,7 +223,8 @@ Handle<Object> SetProperty(Isolate* isolate,
Handle<Object> key,
Handle<Object> value,
PropertyAttributes attributes,
- StrictModeFlag strict_mode);
+ StrictModeFlag strict_mode,
+ LookupCache* cache = NULL);
Handle<Object> ForceSetProperty(Handle<JSObject> object,
Handle<Object> key,
@@ -237,7 +241,8 @@ Handle<Object> GetProperty(Handle<JSReceiver> obj, const char* name);
Handle<Object> GetProperty(Isolate* isolate,
Handle<Object> obj,
- Handle<Object> key);
+ Handle<Object> key,
+ LookupCache* cache = NULL);
Handle<Object> SetPrototype(Handle<JSObject> obj, Handle<Object> value);
« no previous file with comments | « src/api.cc ('k') | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698