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

Unified Diff: src/frames.cc

Issue 1865833002: [generators] Decouple generator resume from fullcodegen. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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
Index: src/frames.cc
diff --git a/src/frames.cc b/src/frames.cc
index 0e57429ea3077e2f50e056369ff6406b0ed34b70..de3ab3026ec06dcb95a3461e019fd9bec07e08a7 100644
--- a/src/frames.cc
+++ b/src/frames.cc
@@ -944,16 +944,6 @@ void JavaScriptFrame::SaveOperandStack(FixedArray* store) const {
}
}
-
-void JavaScriptFrame::RestoreOperandStack(FixedArray* store) {
- int operands_count = store->length();
- DCHECK_LE(operands_count, ComputeOperandsCount());
- for (int i = 0; i < operands_count; i++) {
- DCHECK_EQ(GetOperand(i), isolate()->heap()->the_hole_value());
- Memory::Object_at(GetOperandSlot(i)) = store->get(i);
- }
-}
-
namespace {
bool CannotDeoptFromAsmCode(Code* code, JSFunction* function) {
« src/deoptimizer.cc ('K') | « src/frames.h ('k') | src/full-codegen/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698