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

Unified Diff: src/runtime.cc

Issue 660243: Small API improvements: (Closed)
Patch Set: Created 10 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 | « src/runtime.h ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index 861adbc0a688d5db2c1f5d61f52b6141ed53fd2c..5828e0dcfca6ea994f372ad0f464f67f6acb1105 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -2846,6 +2846,11 @@ Object* Runtime::GetElementOrCharAt(Handle<Object> object, uint32_t index) {
return prototype->GetElement(index);
}
+ return GetElement(object, index);
antonm 2010/02/27 14:38:01 I am not sure it's worth refactoring, but up to yo
+}
+
+
+Object* Runtime::GetElement(Handle<Object> object, uint32_t index) {
return object->GetElement(index);
}
« no previous file with comments | « src/runtime.h ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698