Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index ba7df802fa6cfd29428abe9aaef2361fa8d32957..cfbb815f8448f40acb6a60ad7f4a5049a22eae55 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -119,7 +119,7 @@ Handle<Code> CodeStub::GetCode() { |
Handle<Code> new_object = factory->NewCode( |
desc, flags, masm.CodeObject(), NeedsImmovableCode()); |
RecordCodeGeneration(*new_object, &masm); |
- FinishCode(new_object); |
+ FinishCode(*new_object); |
// Update the dictionary and the root in Heap. |
Handle<NumberDictionary> dict = |
@@ -213,14 +213,6 @@ void InstanceofStub::PrintName(StringStream* stream) { |
} |
-void JSEntryStub::FinishCode(Handle<Code> code) { |
- Handle<FixedArray> handler_table = |
- code->GetIsolate()->factory()->NewFixedArray(1, TENURED); |
- handler_table->set(0, Smi::FromInt(handler_offset_)); |
- code->set_handler_table(*handler_table); |
-} |
- |
- |
void KeyedLoadElementStub::Generate(MacroAssembler* masm) { |
switch (elements_kind_) { |
case FAST_ELEMENTS: |