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

Side by Side Diff: src/objects.cc

Issue 10855098: Deoptimization support for accessors. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Tiny test changes. Rebased. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/mips/stub-cache-mips.cc ('k') | src/stub-cache.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 8296 matching lines...) Expand 10 before | Expand all | Expand 10 after
8307 int function_id = iterator.Next(); 8307 int function_id = iterator.Next();
8308 JSFunction* function = 8308 JSFunction* function =
8309 JSFunction::cast(LiteralArray()->get(function_id)); 8309 JSFunction::cast(LiteralArray()->get(function_id));
8310 unsigned height = iterator.Next(); 8310 unsigned height = iterator.Next();
8311 PrintF(out, "{function="); 8311 PrintF(out, "{function=");
8312 function->PrintName(out); 8312 function->PrintName(out);
8313 PrintF(out, ", height=%u}", height); 8313 PrintF(out, ", height=%u}", height);
8314 break; 8314 break;
8315 } 8315 }
8316 8316
8317 case Translation::SETTER_STUB_FRAME: {
8318 int function_id = iterator.Next();
8319 JSFunction* function =
8320 JSFunction::cast(LiteralArray()->get(function_id));
8321 PrintF(out, "{function=");
8322 function->PrintName(out);
8323 PrintF(out, "}");
8324 break;
8325 }
8326
8317 case Translation::DUPLICATE: 8327 case Translation::DUPLICATE:
8318 break; 8328 break;
8319 8329
8320 case Translation::REGISTER: { 8330 case Translation::REGISTER: {
8321 int reg_code = iterator.Next(); 8331 int reg_code = iterator.Next();
8322 PrintF(out, "{input=%s}", converter.NameOfCPURegister(reg_code)); 8332 PrintF(out, "{input=%s}", converter.NameOfCPURegister(reg_code));
8323 break; 8333 break;
8324 } 8334 }
8325 8335
8326 case Translation::INT32_REGISTER: { 8336 case Translation::INT32_REGISTER: {
(...skipping 4828 matching lines...) Expand 10 before | Expand all | Expand 10 after
13155 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); 13165 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER);
13156 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); 13166 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER);
13157 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); 13167 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER);
13158 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); 13168 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER);
13159 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); 13169 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER);
13160 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); 13170 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER);
13161 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); 13171 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER);
13162 } 13172 }
13163 13173
13164 } } // namespace v8::internal 13174 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « 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