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

Unified Diff: src/hydrogen.cc

Issue 552803002: Get CallInterfaceDescriptor directly from CodeStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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
Index: src/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index 60d56f853b0e1a0995819a8f7b9a149578f61406..b1b4dfc54cc68190faeeb9415ff9386ce7988e3d 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -3434,8 +3434,8 @@ HGraph::HGraph(CompilationInfo* info)
next_inline_id_(0),
inlined_functions_(5, info->zone()) {
if (info->IsStub()) {
- HydrogenCodeStub* stub = info->code_stub();
- CodeStubInterfaceDescriptor descriptor(stub);
+ CallInterfaceDescriptor descriptor =
+ info->code_stub()->GetCallInterfaceDescriptor();
start_environment_ = new (zone_)
HEnvironment(zone_, descriptor.GetEnvironmentParameterCount());
} else {

Powered by Google App Engine
This is Rietveld 408576698