From 696f02455792b368249bf9b013dde637b5ec31fd Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 8 Jun 2009 18:34:06 +0200 Subject: Upgrade to v8 1.2.7 --- deps/v8/src/ia32/ic-ia32.cc | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'deps/v8/src/ia32/ic-ia32.cc') diff --git a/deps/v8/src/ia32/ic-ia32.cc b/deps/v8/src/ia32/ic-ia32.cc index 4231bfae7d..d7f264d495 100644 --- a/deps/v8/src/ia32/ic-ia32.cc +++ b/deps/v8/src/ia32/ic-ia32.cc @@ -32,7 +32,8 @@ #include "runtime.h" #include "stub-cache.h" -namespace v8 { namespace internal { +namespace v8 { +namespace internal { // ---------------------------------------------------------------------------- // Static IC stub generators. @@ -426,7 +427,7 @@ void CallIC::GenerateMegamorphic(MacroAssembler* masm, int argc) { // Probe the stub cache. Code::Flags flags = - Code::ComputeFlags(Code::CALL_IC, MONOMORPHIC, NORMAL, argc); + Code::ComputeFlags(Code::CALL_IC, NOT_IN_LOOP, MONOMORPHIC, NORMAL, argc); StubCache::GenerateProbe(masm, flags, edx, ecx, ebx); // If the stub cache probing failed, the receiver might be a value. @@ -635,7 +636,9 @@ void LoadIC::GenerateMegamorphic(MacroAssembler* masm) { __ mov(eax, Operand(esp, kPointerSize)); // Probe the stub cache. - Code::Flags flags = Code::ComputeFlags(Code::LOAD_IC, MONOMORPHIC); + Code::Flags flags = Code::ComputeFlags(Code::LOAD_IC, + NOT_IN_LOOP, + MONOMORPHIC); StubCache::GenerateProbe(masm, flags, eax, ecx, ebx); // Cache miss: Jump to runtime. @@ -838,7 +841,9 @@ void StoreIC::GenerateMegamorphic(MacroAssembler* masm) { // Get the receiver from the stack and probe the stub cache. __ mov(edx, Operand(esp, 4)); - Code::Flags flags = Code::ComputeFlags(Code::STORE_IC, MONOMORPHIC); + Code::Flags flags = Code::ComputeFlags(Code::STORE_IC, + NOT_IN_LOOP, + MONOMORPHIC); StubCache::GenerateProbe(masm, flags, edx, ecx, ebx); // Cache miss: Jump to runtime. -- cgit v1.2.1