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

Side by Side Diff: src/mips/code-stubs-mips.cc

Issue 1220443002: MIPS: Fix unpredictable random failures after direct api function call. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Added asserts. Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « src/mips/assembler-mips.cc ('k') | src/mips64/assembler-mips64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_MIPS 7 #if V8_TARGET_ARCH_MIPS
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 4033 matching lines...) Expand 10 before | Expand all | Expand 10 after
4044 } 4044 }
4045 __ Jump(t9); 4045 __ Jump(t9);
4046 } 4046 }
4047 4047
4048 4048
4049 void DirectCEntryStub::GenerateCall(MacroAssembler* masm, 4049 void DirectCEntryStub::GenerateCall(MacroAssembler* masm,
4050 Register target) { 4050 Register target) {
4051 intptr_t loc = 4051 intptr_t loc =
4052 reinterpret_cast<intptr_t>(GetCode().location()); 4052 reinterpret_cast<intptr_t>(GetCode().location());
4053 __ Move(t9, target); 4053 __ Move(t9, target);
4054 __ li(ra, Operand(loc, RelocInfo::CODE_TARGET), CONSTANT_SIZE); 4054 __ li(at, Operand(loc, RelocInfo::CODE_TARGET), CONSTANT_SIZE);
4055 __ Call(ra); 4055 __ Call(at);
4056 } 4056 }
4057 4057
4058 4058
4059 void NameDictionaryLookupStub::GenerateNegativeLookup(MacroAssembler* masm, 4059 void NameDictionaryLookupStub::GenerateNegativeLookup(MacroAssembler* masm,
4060 Label* miss, 4060 Label* miss,
4061 Label* done, 4061 Label* done,
4062 Register receiver, 4062 Register receiver,
4063 Register properties, 4063 Register properties,
4064 Handle<Name> name, 4064 Handle<Name> name,
4065 Register scratch0) { 4065 Register scratch0) {
(...skipping 1508 matching lines...) Expand 10 before | Expand all | Expand 10 after
5574 MemOperand(fp, 6 * kPointerSize), NULL); 5574 MemOperand(fp, 6 * kPointerSize), NULL);
5575 } 5575 }
5576 5576
5577 5577
5578 #undef __ 5578 #undef __
5579 5579
5580 } // namespace internal 5580 } // namespace internal
5581 } // namespace v8 5581 } // namespace v8
5582 5582
5583 #endif // V8_TARGET_ARCH_MIPS 5583 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/assembler-mips.cc ('k') | src/mips64/assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698