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

Side by Side Diff: src/objects.cc

Issue 11747022: Introduce POLYMORPHIC (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 11 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/ic.cc ('k') | src/v8globals.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 8991 matching lines...) Expand 10 before | Expand all | Expand 10 after
9002 } 9002 }
9003 } 9003 }
9004 9004
9005 9005
9006 const char* Code::ICState2String(InlineCacheState state) { 9006 const char* Code::ICState2String(InlineCacheState state) {
9007 switch (state) { 9007 switch (state) {
9008 case UNINITIALIZED: return "UNINITIALIZED"; 9008 case UNINITIALIZED: return "UNINITIALIZED";
9009 case PREMONOMORPHIC: return "PREMONOMORPHIC"; 9009 case PREMONOMORPHIC: return "PREMONOMORPHIC";
9010 case MONOMORPHIC: return "MONOMORPHIC"; 9010 case MONOMORPHIC: return "MONOMORPHIC";
9011 case MONOMORPHIC_PROTOTYPE_FAILURE: return "MONOMORPHIC_PROTOTYPE_FAILURE"; 9011 case MONOMORPHIC_PROTOTYPE_FAILURE: return "MONOMORPHIC_PROTOTYPE_FAILURE";
9012 case POLYMORPHIC: return "POLYMORPHIC";
9012 case MEGAMORPHIC: return "MEGAMORPHIC"; 9013 case MEGAMORPHIC: return "MEGAMORPHIC";
9013 case DEBUG_BREAK: return "DEBUG_BREAK"; 9014 case DEBUG_BREAK: return "DEBUG_BREAK";
9014 case DEBUG_PREPARE_STEP_IN: return "DEBUG_PREPARE_STEP_IN"; 9015 case DEBUG_PREPARE_STEP_IN: return "DEBUG_PREPARE_STEP_IN";
9015 } 9016 }
9016 UNREACHABLE(); 9017 UNREACHABLE();
9017 return NULL; 9018 return NULL;
9018 } 9019 }
9019 9020
9020 9021
9021 const char* Code::StubType2String(StubType type) { 9022 const char* Code::StubType2String(StubType type) {
(...skipping 4701 matching lines...) Expand 10 before | Expand all | Expand 10 after
13723 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); 13724 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER);
13724 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); 13725 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER);
13725 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); 13726 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER);
13726 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); 13727 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER);
13727 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); 13728 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER);
13728 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); 13729 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER);
13729 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); 13730 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER);
13730 } 13731 }
13731 13732
13732 } } // namespace v8::internal 13733 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/v8globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698