Index: src/runtime/runtime-function.cc |
diff --git a/src/runtime/runtime-function.cc b/src/runtime/runtime-function.cc |
index 75aeed74bed77f96de8da9cb4014bdabd73e84d5..e8b160d1c529353134ad2a045faec0d5d1f040a5 100644 |
--- a/src/runtime/runtime-function.cc |
+++ b/src/runtime/runtime-function.cc |
@@ -295,10 +295,6 @@ RUNTIME_FUNCTION(Runtime_SetCode) { |
int number_of_literals = source->NumberOfLiterals(); |
Handle<FixedArray> literals = |
isolate->factory()->NewFixedArray(number_of_literals, TENURED); |
- if (number_of_literals > 0) { |
- literals->set(JSFunction::kLiteralNativeContextIndex, |
- context->native_context()); |
- } |
target->set_context(*context); |
target->set_literals(*literals); |