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

Unified Diff: JavaScriptCore/runtime/JSArray.h

Issue 28077: WebKit side of merge from r41149 to r41181. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/WebKit/
Patch Set: Created 11 years, 10 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 | « JavaScriptCore/runtime/FunctionPrototype.cpp ('k') | JavaScriptCore/runtime/JSByteArray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: JavaScriptCore/runtime/JSArray.h
===================================================================
--- JavaScriptCore/runtime/JSArray.h (revision 10232)
+++ JavaScriptCore/runtime/JSArray.h (working copy)
@@ -122,6 +122,8 @@
return static_cast<JSArray*>(asObject(value));
}
+ inline bool isJSArray(JSGlobalData* globalData, JSValuePtr v) { return v.isCell() && v.asCell()->vptr() == globalData->jsArrayVPtr; }
+
} // namespace JSC
#endif // JSArray_h
« no previous file with comments | « JavaScriptCore/runtime/FunctionPrototype.cpp ('k') | JavaScriptCore/runtime/JSByteArray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698