| Index: src/top.cc
|
| diff --git a/src/top.cc b/src/top.cc
|
| index 7c8a1c96ebca60e215d0ebae81ee1f0c8e0897d4..850bf27078634ea7b5f068706f78e13385ead24a 100644
|
| --- a/src/top.cc
|
| +++ b/src/top.cc
|
| @@ -950,27 +950,6 @@ Handle<Context> Top::GetCallingGlobalContext() {
|
| }
|
|
|
|
|
| -bool Top::CanHaveSpecialFunctions(JSObject* object) {
|
| - return object->IsJSArray();
|
| -}
|
| -
|
| -
|
| -Object* Top::LookupSpecialFunction(JSObject* receiver,
|
| - JSObject* prototype,
|
| - JSFunction* function) {
|
| - if (CanHaveSpecialFunctions(receiver)) {
|
| - FixedArray* table = context()->global_context()->special_function_table();
|
| - for (int index = 0; index < table->length(); index +=3) {
|
| - if ((prototype == table->get(index)) &&
|
| - (function == table->get(index+1))) {
|
| - return table->get(index+2);
|
| - }
|
| - }
|
| - }
|
| - return Heap::undefined_value();
|
| -}
|
| -
|
| -
|
| char* Top::ArchiveThread(char* to) {
|
| memcpy(to, reinterpret_cast<char*>(&thread_local_), sizeof(thread_local_));
|
| InitializeThreadLocal();
|
|
|