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

Unified Diff: src/objects.cc

Issue 10855098: Deoptimization support for accessors. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed unit tests. Created 8 years, 4 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/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 569b5d030bdf4b3e16f697874db164a46110dc67..8cfb5fd1ffe0f6ff7bd3348e7ef09ac86819e1ac 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -8303,11 +8303,13 @@ void DeoptimizationInputData::DeoptimizationInputDataPrint(FILE* out) {
}
case Translation::ARGUMENTS_ADAPTOR_FRAME:
- case Translation::CONSTRUCT_STUB_FRAME: {
+ case Translation::CONSTRUCT_STUB_FRAME:
+ case Translation::SETTER_STUB_FRAME: {
Michael Starzinger 2012/08/16 17:20:04 Can we make that an own case that doesn't print th
Sven Panne 2012/08/17 07:27:26 Done.
int function_id = iterator.Next();
JSFunction* function =
JSFunction::cast(LiteralArray()->get(function_id));
- unsigned height = iterator.Next();
+ unsigned height =
+ opcode == Translation::SETTER_STUB_FRAME ? 2 : iterator.Next();
Michael Starzinger 2012/08/16 17:20:04 Actually, height = 0 for the setter stub, but that
Sven Panne 2012/08/17 07:27:26 Well, it is totally unclear what is *really* meant
PrintF(out, "{function=");
function->PrintName(out);
PrintF(out, ", height=%u}", height);
« src/ia32/stub-cache-ia32.cc ('K') | « src/mips/stub-cache-mips.cc ('k') | src/stub-cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698