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

Side by Side Diff: src/hydrogen-instructions.cc

Issue 19485008: Replace CONSTANT_FUNCTION by CONSTANT (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 7 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/hydrogen.cc ('k') | src/ia32/lithium-codegen-ia32.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 2715 matching lines...) Expand 10 before | Expand all | Expand 10 after
2726 } 2726 }
2727 if (FLAG_track_double_fields && 2727 if (FLAG_track_double_fields &&
2728 lookup.representation().IsDouble()) { 2728 lookup.representation().IsDouble()) {
2729 // Since the value needs to be boxed, use a generic handler for 2729 // Since the value needs to be boxed, use a generic handler for
2730 // loading doubles. 2730 // loading doubles.
2731 continue; 2731 continue;
2732 } 2732 }
2733 types_.Add(types->at(i), zone); 2733 types_.Add(types->at(i), zone);
2734 break; 2734 break;
2735 } 2735 }
2736 case CONSTANT_FUNCTION: 2736 case CONSTANT:
2737 types_.Add(types->at(i), zone); 2737 types_.Add(types->at(i), zone);
2738 break; 2738 break;
2739 case CALLBACKS: 2739 case CALLBACKS:
2740 break; 2740 break;
2741 case TRANSITION: 2741 case TRANSITION:
2742 case INTERCEPTOR: 2742 case INTERCEPTOR:
2743 case NONEXISTENT: 2743 case NONEXISTENT:
2744 case NORMAL: 2744 case NORMAL:
2745 case HANDLER: 2745 case HANDLER:
2746 UNREACHABLE(); 2746 UNREACHABLE();
(...skipping 1300 matching lines...) Expand 10 before | Expand all | Expand 10 after
4047 case kBackingStore: 4047 case kBackingStore:
4048 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); 4048 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString());
4049 stream->Add("[backing-store]"); 4049 stream->Add("[backing-store]");
4050 break; 4050 break;
4051 } 4051 }
4052 4052
4053 stream->Add("@%d", offset()); 4053 stream->Add("@%d", offset());
4054 } 4054 }
4055 4055
4056 } } // namespace v8::internal 4056 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/lithium-codegen-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698