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

Side by Side Diff: src/objects.cc

Issue 10910110: Fixed deoptimization of inlined getters. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 3 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 8273 matching lines...) Expand 10 before | Expand all | Expand 10 after
8284 int function_id = iterator.Next(); 8284 int function_id = iterator.Next();
8285 JSFunction* function = 8285 JSFunction* function =
8286 JSFunction::cast(LiteralArray()->get(function_id)); 8286 JSFunction::cast(LiteralArray()->get(function_id));
8287 unsigned height = iterator.Next(); 8287 unsigned height = iterator.Next();
8288 PrintF(out, "{function="); 8288 PrintF(out, "{function=");
8289 function->PrintName(out); 8289 function->PrintName(out);
8290 PrintF(out, ", height=%u}", height); 8290 PrintF(out, ", height=%u}", height);
8291 break; 8291 break;
8292 } 8292 }
8293 8293
8294 case Translation::GETTER_STUB_FRAME:
8294 case Translation::SETTER_STUB_FRAME: { 8295 case Translation::SETTER_STUB_FRAME: {
8295 int function_id = iterator.Next(); 8296 int function_id = iterator.Next();
8296 JSFunction* function = 8297 JSFunction* function =
8297 JSFunction::cast(LiteralArray()->get(function_id)); 8298 JSFunction::cast(LiteralArray()->get(function_id));
8298 PrintF(out, "{function="); 8299 PrintF(out, "{function=");
8299 function->PrintName(out); 8300 function->PrintName(out);
8300 PrintF(out, "}"); 8301 PrintF(out, "}");
8301 break; 8302 break;
8302 } 8303 }
8303 8304
(...skipping 4911 matching lines...) Expand 10 before | Expand all | Expand 10 after
13215 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); 13216 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER);
13216 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); 13217 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER);
13217 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); 13218 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER);
13218 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); 13219 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER);
13219 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); 13220 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER);
13220 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); 13221 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER);
13221 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); 13222 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER);
13222 } 13223 }
13223 13224
13224 } } // namespace v8::internal 13225 } } // 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