| Index: src/runtime/runtime-generator.cc
|
| diff --git a/src/runtime/runtime-generator.cc b/src/runtime/runtime-generator.cc
|
| index f7be0eb60b75ad963ac6d3db3c2622f4f50c1261..602d7a7eae89de7e9af7f291ece58f367cb493ac 100644
|
| --- a/src/runtime/runtime-generator.cc
|
| +++ b/src/runtime/runtime-generator.cc
|
| @@ -148,16 +148,6 @@ RUNTIME_FUNCTION(Runtime_GeneratorGetFunction) {
|
| }
|
|
|
|
|
| -// Returns context of generator activation.
|
| -RUNTIME_FUNCTION(Runtime_GeneratorGetContext) {
|
| - HandleScope scope(isolate);
|
| - DCHECK(args.length() == 1);
|
| - CONVERT_ARG_HANDLE_CHECKED(JSGeneratorObject, generator, 0);
|
| -
|
| - return generator->context();
|
| -}
|
| -
|
| -
|
| // Returns receiver of generator activation.
|
| RUNTIME_FUNCTION(Runtime_GeneratorGetReceiver) {
|
| HandleScope scope(isolate);
|
|
|