Index: src/compiler/fast-accessor-assembler.cc |
diff --git a/src/compiler/fast-accessor-assembler.cc b/src/compiler/fast-accessor-assembler.cc |
index 09d513fdc622c4a141a26601ae0501c1bedd5f14..01aabf705a50c2cb3ee711ee6917b7db5b16f753 100644 |
--- a/src/compiler/fast-accessor-assembler.cc |
+++ b/src/compiler/fast-accessor-assembler.cc |
@@ -176,9 +176,10 @@ MaybeHandle<Code> FastAccessorAssembler::Build() { |
// Export the schedule and call the compiler. |
Schedule* schedule = assembler_->Export(); |
+ Code::Flags flags = Code::ComputeFlags(Code::STUB); |
MaybeHandle<Code> code = Pipeline::GenerateCodeForCodeStub( |
assembler_->isolate(), assembler_->call_descriptor(), assembler_->graph(), |
- schedule, Code::STUB, "FastAccessorAssembler"); |
+ schedule, flags, "FastAccessorAssembler"); |
// Update state & return. |
state_ = !code.is_null() ? kBuilt : kError; |