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

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

Issue 534573002: Reland "Make FrameStates recursive (to be used for inlining).". (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase. 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
« no previous file with comments | « src/compiler/operator-properties-inl.h ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/raw-machine-assembler.h
diff --git a/src/compiler/raw-machine-assembler.h b/src/compiler/raw-machine-assembler.h
index 5e08d40dbb9b3e9e307d925c65cb53d52d1576ef..ce9e71ebd4157363de44f44206362e5ea9a95b8e 100644
--- a/src/compiler/raw-machine-assembler.h
+++ b/src/compiler/raw-machine-assembler.h
@@ -57,6 +57,12 @@ class RawMachineAssembler : public GraphBuilder,
size_t parameter_count() const { return machine_sig_->parameter_count(); }
MachineSignature* machine_sig() const { return machine_sig_; }
+ Node* UndefinedConstant() {
+ PrintableUnique<Object> unique = PrintableUnique<Object>::CreateImmovable(
+ zone(), isolate()->factory()->undefined_value());
+ return NewNode(common()->HeapConstant(unique));
+ }
+
// Parameters.
Node* Parameter(size_t index);
« no previous file with comments | « src/compiler/operator-properties-inl.h ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698