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

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: jarin's comments. 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') | test/cctest/compiler/test-codegen-deopt.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 04e0fee704e9c7904c2aefc3f44732a67cd32e27..9cb394e8b387024b4f6e057bc4a7e95b0b204271 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);
« no previous file with comments | « src/compiler/operator-properties-inl.h ('k') | test/cctest/compiler/test-codegen-deopt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698