Index: src/top.cc |
diff --git a/src/top.cc b/src/top.cc |
index b9db4be52e73355e7497f35d50c3c2b4bebde129..f72dc706d35f5024369bf5e1b9a9999d08f28bd0 100644 |
--- a/src/top.cc |
+++ b/src/top.cc |
@@ -949,27 +949,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(); |