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

Side by Side Diff: src/hydrogen.cc

Issue 196283015: Revert "Moved type feedback vector to SharedFunctionInfo." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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-snapshot-generator.cc ('k') | src/ia32/full-codegen-ia32.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 7188 matching lines...) Expand 10 before | Expand all | Expand 10 after
7199 return false; 7199 return false;
7200 } 7200 }
7201 if (target_shared->scope_info() == ScopeInfo::Empty(isolate())) { 7201 if (target_shared->scope_info() == ScopeInfo::Empty(isolate())) {
7202 // The scope info might not have been set if a lazily compiled 7202 // The scope info might not have been set if a lazily compiled
7203 // function is inlined before being called for the first time. 7203 // function is inlined before being called for the first time.
7204 Handle<ScopeInfo> target_scope_info = 7204 Handle<ScopeInfo> target_scope_info =
7205 ScopeInfo::Create(target_info.scope(), zone()); 7205 ScopeInfo::Create(target_info.scope(), zone());
7206 target_shared->set_scope_info(*target_scope_info); 7206 target_shared->set_scope_info(*target_scope_info);
7207 } 7207 }
7208 target_shared->EnableDeoptimizationSupport(*target_info.code()); 7208 target_shared->EnableDeoptimizationSupport(*target_info.code());
7209 target_shared->set_feedback_vector(*target_info.feedback_vector());
7210 Compiler::RecordFunctionCompilation(Logger::FUNCTION_TAG, 7209 Compiler::RecordFunctionCompilation(Logger::FUNCTION_TAG,
7211 &target_info, 7210 &target_info,
7212 target_shared); 7211 target_shared);
7213 } 7212 }
7214 7213
7215 // ---------------------------------------------------------------- 7214 // ----------------------------------------------------------------
7216 // After this point, we've made a decision to inline this function (so 7215 // After this point, we've made a decision to inline this function (so
7217 // TryInline should always return true). 7216 // TryInline should always return true).
7218 7217
7219 // Type-check the inlined function. 7218 // Type-check the inlined function.
(...skipping 4066 matching lines...) Expand 10 before | Expand all | Expand 10 after
11286 if (ShouldProduceTraceOutput()) { 11285 if (ShouldProduceTraceOutput()) {
11287 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 11286 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
11288 } 11287 }
11289 11288
11290 #ifdef DEBUG 11289 #ifdef DEBUG
11291 graph_->Verify(false); // No full verify. 11290 graph_->Verify(false); // No full verify.
11292 #endif 11291 #endif
11293 } 11292 }
11294 11293
11295 } } // namespace v8::internal 11294 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/heap-snapshot-generator.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698