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

Side by Side Diff: src/ic/ic.cc

Issue 648243002: Always compile functions in the snapshot with deoptimization support. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: bump up size of first old_pointer_space page Created 6 years, 2 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/heap/spaces.cc ('k') | src/v8natives.js » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/api.h" 8 #include "src/api.h"
9 #include "src/arguments.h" 9 #include "src/arguments.h"
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 JavaScriptFrame::PrintFunctionAndOffset(function, function->code(), pc(), 115 JavaScriptFrame::PrintFunctionAndOffset(function, function->code(), pc(),
116 stdout, true); 116 stdout, true);
117 } 117 }
118 118
119 ExtraICState extra_state = new_target->extra_ic_state(); 119 ExtraICState extra_state = new_target->extra_ic_state();
120 const char* modifier = ""; 120 const char* modifier = "";
121 if (new_target->kind() == Code::KEYED_STORE_IC) { 121 if (new_target->kind() == Code::KEYED_STORE_IC) {
122 modifier = GetTransitionMarkModifier( 122 modifier = GetTransitionMarkModifier(
123 KeyedStoreIC::GetKeyedAccessStoreMode(extra_state)); 123 KeyedStoreIC::GetKeyedAccessStoreMode(extra_state));
124 } 124 }
125 PrintF(" (%c->%c%s)", TransitionMarkFromState(old_state), 125 PrintF(" (%c->%c%s) ", TransitionMarkFromState(old_state),
126 TransitionMarkFromState(new_state), modifier); 126 TransitionMarkFromState(new_state), modifier);
127 #ifdef OBJECT_PRINT 127 #ifdef OBJECT_PRINT
128 OFStream os(stdout); 128 OFStream os(stdout);
129 name->Print(os); 129 name->Print(os);
130 #else 130 #else
131 name->ShortPrint(stdout); 131 name->ShortPrint(stdout);
132 #endif 132 #endif
133 PrintF("]\n"); 133 PrintF("]\n");
134 } 134 }
135 } 135 }
(...skipping 2563 matching lines...) Expand 10 before | Expand all | Expand 10 after
2699 static const Address IC_utilities[] = { 2699 static const Address IC_utilities[] = {
2700 #define ADDR(name) FUNCTION_ADDR(name), 2700 #define ADDR(name) FUNCTION_ADDR(name),
2701 IC_UTIL_LIST(ADDR) NULL 2701 IC_UTIL_LIST(ADDR) NULL
2702 #undef ADDR 2702 #undef ADDR
2703 }; 2703 };
2704 2704
2705 2705
2706 Address IC::AddressFromUtilityId(IC::UtilityId id) { return IC_utilities[id]; } 2706 Address IC::AddressFromUtilityId(IC::UtilityId id) { return IC_utilities[id]; }
2707 } 2707 }
2708 } // namespace v8::internal 2708 } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/heap/spaces.cc ('k') | src/v8natives.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698