Index: src/execution.cc |
diff --git a/src/execution.cc b/src/execution.cc |
index aa154df179b762863abbc7eaa973296d413772ed..c1cb04380475c416384e92c06cdc96dbaa2051ce 100644 |
--- a/src/execution.cc |
+++ b/src/execution.cc |
@@ -88,11 +88,9 @@ static Handle<Object> Invoke(bool construct, |
Handle<Code> code; |
if (construct) { |
- JSConstructEntryStub stub; |
- code = stub.GetCode(); |
+ code = isolate->factory()->js_construct_entry_code(); |
} else { |
- JSEntryStub stub; |
- code = stub.GetCode(); |
+ code = isolate->factory()->js_entry_code(); |
} |
// Convert calls on global objects to be calls on the global |