Fix initial comparison combined_type
R=jkummerow@chromium.org BUG= Review URL: https://codereview.chromium.org/27183002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17195 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
2e3057c69f
commit
9fadd29544
@ -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_);
|
||||
|
@ -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));
|
||||
}
|
||||
|
||||
|
@ -824,7 +824,7 @@ void Genesis::HookUpInnerGlobal(Handle<GlobalObject> inner_global) {
|
||||
// work in the snapshot case is done in HookUpInnerGlobal.
|
||||
void Genesis::InitializeGlobal(Handle<GlobalObject> inner_global,
|
||||
Handle<JSFunction> 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);
|
||||
|
Loading…
Reference in New Issue
Block a user