Chromium Code Reviews| 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); |
| } |