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

Side by Side Diff: src/objects.cc

Issue 11821049: Combine DEBUG_BREAK and DEBUG_PREPARE_STEP_IN into one IC stub kind DEBUG_STUB, encoding DEBUG_BREA… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments 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/objects.h ('k') | src/objects-inl.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 9018 matching lines...) Expand 10 before | Expand all | Expand 10 after
9029 9029
9030 9030
9031 const char* Code::ICState2String(InlineCacheState state) { 9031 const char* Code::ICState2String(InlineCacheState state) {
9032 switch (state) { 9032 switch (state) {
9033 case UNINITIALIZED: return "UNINITIALIZED"; 9033 case UNINITIALIZED: return "UNINITIALIZED";
9034 case PREMONOMORPHIC: return "PREMONOMORPHIC"; 9034 case PREMONOMORPHIC: return "PREMONOMORPHIC";
9035 case MONOMORPHIC: return "MONOMORPHIC"; 9035 case MONOMORPHIC: return "MONOMORPHIC";
9036 case MONOMORPHIC_PROTOTYPE_FAILURE: return "MONOMORPHIC_PROTOTYPE_FAILURE"; 9036 case MONOMORPHIC_PROTOTYPE_FAILURE: return "MONOMORPHIC_PROTOTYPE_FAILURE";
9037 case POLYMORPHIC: return "POLYMORPHIC"; 9037 case POLYMORPHIC: return "POLYMORPHIC";
9038 case MEGAMORPHIC: return "MEGAMORPHIC"; 9038 case MEGAMORPHIC: return "MEGAMORPHIC";
9039 case DEBUG_BREAK: return "DEBUG_BREAK"; 9039 case DEBUG_STUB: return "DEBUG_STUB";
9040 case DEBUG_PREPARE_STEP_IN: return "DEBUG_PREPARE_STEP_IN";
9041 } 9040 }
9042 UNREACHABLE(); 9041 UNREACHABLE();
9043 return NULL; 9042 return NULL;
9044 } 9043 }
9045 9044
9046 9045
9047 const char* Code::StubType2String(StubType type) { 9046 const char* Code::StubType2String(StubType type) {
9048 switch (type) { 9047 switch (type) {
9049 case NORMAL: return "NORMAL"; 9048 case NORMAL: return "NORMAL";
9050 case FIELD: return "FIELD"; 9049 case FIELD: return "FIELD";
(...skipping 4729 matching lines...) Expand 10 before | Expand all | Expand 10 after
13780 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); 13779 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER);
13781 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); 13780 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER);
13782 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); 13781 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER);
13783 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); 13782 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER);
13784 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); 13783 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER);
13785 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); 13784 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER);
13786 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); 13785 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER);
13787 } 13786 }
13788 13787
13789 } } // namespace v8::internal 13788 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698