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

Unified Diff: src/interpreter/bytecode-flags.cc

Issue 2341743003: [interpreter] Inline FastCloneShallowArrayStub into bytecode handler (Closed)
Patch Set: compile issues Created 4 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/interpreter/bytecode-flags.cc
diff --git a/src/interpreter/bytecode-flags.cc b/src/interpreter/bytecode-flags.cc
index 9b25dbd230959d2f330f93651725eeca2df966d8..ae98d8adc0021c7ddd30d9ed3ce756dffbe101de 100644
--- a/src/interpreter/bytecode-flags.cc
+++ b/src/interpreter/bytecode-flags.cc
@@ -11,6 +11,14 @@ namespace internal {
namespace interpreter {
// static
+uint8_t CreateArrayLiteralFlags::Encode(bool must_use_runtime,
+ int runtime_flags) {
+ uint8_t result = FlagsBits::encode(runtime_flags);
+ result |= MustUseRuntimeBit::encode(must_use_runtime);
+ return result;
+}
+
+// static
uint8_t CreateObjectLiteralFlags::Encode(bool fast_clone_supported,
int properties_count,
int runtime_flags) {

Powered by Google App Engine
This is Rietveld 408576698