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

Unified Diff: src/compiler/code-assembler.cc

Issue 2645313003: [async-iteration] implement Async-from-Sync Iterator (Closed)
Patch Set: rebase Created 3 years, 10 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/code-assembler.cc
diff --git a/src/compiler/code-assembler.cc b/src/compiler/code-assembler.cc
index 6ecc45930ecdc8a9f90e0b1f3c912453d20d9a39..0aa69cdb4c7c895f4a4f604de3433e3512056e1d 100644
--- a/src/compiler/code-assembler.cc
+++ b/src/compiler/code-assembler.cc
@@ -187,6 +187,10 @@ Node* CodeAssembler::HeapConstant(Handle<HeapObject> object) {
return raw_assembler()->HeapConstant(object);
}
+Node* CodeAssembler::CStringConstant(const char* str) {
jgruber 2017/02/17 12:28:23 Just an idea - maybe it'd make sense to add an opt
caitp 2017/02/17 14:56:10 I think most of the time in those situations we en
jgruber 2017/02/17 16:13:39 Hmm, I guess both aren't really satisfying. This i
+ return HeapConstant(factory()->NewStringFromAsciiChecked(str, TENURED));
+}
+
Node* CodeAssembler::BooleanConstant(bool value) {
return raw_assembler()->BooleanConstant(value);
}

Powered by Google App Engine
This is Rietveld 408576698