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

Unified Diff: src/compiler/raw-machine-assembler.h

Issue 517323002: Make FrameStates recursive (to be used for inlining). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix bug in GetParentCount Created 6 years, 4 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/compiler/raw-machine-assembler.h
diff --git a/src/compiler/raw-machine-assembler.h b/src/compiler/raw-machine-assembler.h
index 095c892dc1bad55970597c683110ca8ee59ace28..4c18d09964e20751a12cfa4489f21166106f8306 100644
--- a/src/compiler/raw-machine-assembler.h
+++ b/src/compiler/raw-machine-assembler.h
@@ -64,6 +64,12 @@ class RawMachineAssembler : public GraphBuilder,
return call_descriptor_builder_->parameter_types();
}
+ Node* UndefinedConstant() {
+ PrintableUnique<Object> unique = PrintableUnique<Object>::CreateImmovable(
+ zone(), isolate()->factory()->undefined_value());
+ return NewNode(common()->HeapConstant(unique));
+ }
+
// Parameters.
Node* Parameter(int index);

Powered by Google App Engine
This is Rietveld 408576698