Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1226)

Unified Diff: src/runtime/runtime-generator.cc

Issue 2163823004: [runtime] cleanup: use the factory() for handlified values (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/runtime/runtime-debug.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime-generator.cc
diff --git a/src/runtime/runtime-generator.cc b/src/runtime/runtime-generator.cc
index 3b65682bbc31383d1058c8c67b1d1e2893ba2929..198bf4b82cbd81c0e5c50c9d67f27857f9e1db30 100644
--- a/src/runtime/runtime-generator.cc
+++ b/src/runtime/runtime-generator.cc
@@ -27,7 +27,7 @@ RUNTIME_FUNCTION(Runtime_CreateJSGeneratorObject) {
operand_stack = isolate->factory()->NewFixedArray(size);
} else {
// Old-style generators.
- operand_stack = handle(isolate->heap()->empty_fixed_array());
+ operand_stack = isolate->factory()->empty_fixed_array();
}
Handle<JSGeneratorObject> generator =
« no previous file with comments | « src/runtime/runtime-debug.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698