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

Unified Diff: src/execution.cc

Issue 656533003: Special handling for inline caches in code serializer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/builtins.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/execution.cc
diff --git a/src/execution.cc b/src/execution.cc
index d198c5a4b8038644094de57acd0b4f3854d8abc7..cfe61f963a87d41e86e153d2104bdc0791783c63 100644
--- a/src/execution.cc
+++ b/src/execution.cc
@@ -37,13 +37,9 @@ void StackGuard::reset_limits(const ExecutionAccess& lock) {
static void PrintDeserializedCodeInfo(Handle<JSFunction> function) {
if (function->code() == function->shared()->code() &&
function->shared()->deserialized()) {
- PrintF("Running deserialized script: ");
+ PrintF("Running deserialized script ");
Object* script = function->shared()->script();
- if (script->IsScript()) {
- Script::cast(script)->name()->ShortPrint();
- } else {
- function->shared()->script()->ShortPrint();
- }
+ if (script->IsScript()) Script::cast(script)->name()->ShortPrint();
PrintF("\n");
}
}
« no previous file with comments | « src/builtins.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698