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

Side by Side Diff: src/compiler.cc

Issue 137863005: Revert "Use stability to only conditionally flush information from the CheckMaps table." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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/code-stubs-hydrogen.cc ('k') | src/hydrogen.cc » ('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 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1178 return isolate->builtins()->InOptimizationQueue(); 1178 return isolate->builtins()->InOptimizationQueue();
1179 } 1179 }
1180 } else { 1180 } else {
1181 if (GetOptimizedCodeNow(info.get())) return info->code(); 1181 if (GetOptimizedCodeNow(info.get())) return info->code();
1182 } 1182 }
1183 1183
1184 // Failed. 1184 // Failed.
1185 if (FLAG_trace_opt) { 1185 if (FLAG_trace_opt) {
1186 PrintF("[failed to optimize "); 1186 PrintF("[failed to optimize ");
1187 function->PrintName(); 1187 function->PrintName();
1188 PrintF(": %s]\n", GetBailoutReason(info->bailout_reason())); 1188 PrintF("]\n");
1189 } 1189 }
1190 1190
1191 if (isolate->has_pending_exception()) isolate->clear_pending_exception(); 1191 if (isolate->has_pending_exception()) isolate->clear_pending_exception();
1192 return Handle<Code>::null(); 1192 return Handle<Code>::null();
1193 } 1193 }
1194 1194
1195 1195
1196 Handle<Code> Compiler::GetConcurrentlyOptimizedCode(OptimizedCompileJob* job) { 1196 Handle<Code> Compiler::GetConcurrentlyOptimizedCode(OptimizedCompileJob* job) {
1197 // Take ownership of compilation info. Deleting compilation info 1197 // Take ownership of compilation info. Deleting compilation info
1198 // also tears down the zone and the recompile job. 1198 // also tears down the zone and the recompile job.
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 AllowHandleDereference allow_deref; 1298 AllowHandleDereference allow_deref;
1299 bool tracing_on = info()->IsStub() 1299 bool tracing_on = info()->IsStub()
1300 ? FLAG_trace_hydrogen_stubs 1300 ? FLAG_trace_hydrogen_stubs
1301 : (FLAG_trace_hydrogen && 1301 : (FLAG_trace_hydrogen &&
1302 info()->closure()->PassesFilter(FLAG_trace_hydrogen_filter)); 1302 info()->closure()->PassesFilter(FLAG_trace_hydrogen_filter));
1303 return (tracing_on && 1303 return (tracing_on &&
1304 OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL); 1304 OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL);
1305 } 1305 }
1306 1306
1307 } } // namespace v8::internal 1307 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698