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

Unified Diff: src/runtime.cc

Issue 8341014: Age the number string cache so it does not keep strings Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« src/heap.cc ('K') | « src/runtime.h ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.cc
===================================================================
--- src/runtime.cc (revision 9686)
+++ src/runtime.cc (working copy)
@@ -13336,6 +13336,13 @@
return isolate->heap()->ToBoolean(obj1->map() == obj2->map());
}
+RUNTIME_FUNCTION(MaybeObject*, Runtime_AreIdenticalObject) {
+ ASSERT(args.length() == 2);
+ Handle<Object> obj1(args[0]);
+ Handle<Object> obj2(args[1]);
+ return isolate->heap()->ToBoolean(*obj1 == *obj2);
+}
+
// ----------------------------------------------------------------------------
// Implementation of Runtime
« src/heap.cc ('K') | « src/runtime.h ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698