diff --git a/src/ast.cc b/src/ast.cc index 8a2889917b..0d667cc168 100644 --- a/src/ast.cc +++ b/src/ast.cc @@ -441,8 +441,7 @@ void Property::RecordTypeFeedback(TypeFeedbackOracle* oracle, } else if (oracle->LoadIsBuiltin(this, Builtins::kKeyedLoadIC_String)) { is_string_access_ = true; } else if (is_monomorphic_) { - receiver_types_.Add(oracle->LoadMonomorphicReceiverType(this), - zone); + receiver_types_.Add(oracle->LoadMonomorphicReceiverType(this), zone); } else if (oracle->LoadIsPolymorphic(this)) { receiver_types_.Reserve(kMaxKeyedPolymorphism, zone); oracle->CollectKeyedReceiverTypes(PropertyFeedbackId(), &receiver_types_); diff --git a/src/ast.h b/src/ast.h index 44c256007d..4b2010f077 100644 --- a/src/ast.h +++ b/src/ast.h @@ -2029,7 +2029,7 @@ class CompareOperation V8_FINAL : public Expression { op_(op), left_(left), right_(right), - combined_type_(Type::Null(), isolate) { + combined_type_(Type::None(), isolate) { ASSERT(Token::IsCompareOp(op)); } diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc index 332131a7ca..c48385ce11 100644 --- a/src/bootstrapper.cc +++ b/src/bootstrapper.cc @@ -824,7 +824,7 @@ void Genesis::HookUpInnerGlobal(Handle inner_global) { // work in the snapshot case is done in HookUpInnerGlobal. void Genesis::InitializeGlobal(Handle inner_global, Handle empty_function) { - // --- G l o b a l C o n t e x t --- + // --- N a t i v e C o n t e x t --- // Use the empty function as closure (no scope info). native_context()->set_closure(*empty_function); native_context()->set_previous(NULL);