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

Side by Side Diff: src/mips64/macro-assembler-mips64.cc

Issue 950523003: MIPS: Fix 'MIPS: Move Maps' back pointers from "transitions" to "constructor" field'. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove DCHECK lines. Created 5 years, 10 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/mips64/lithium-codegen-mips64.cc ('k') | no next file » | 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 <limits.h> // For LONG_MIN, LONG_MAX. 5 #include <limits.h> // For LONG_MIN, LONG_MAX.
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #if V8_TARGET_ARCH_MIPS64 9 #if V8_TARGET_ARCH_MIPS64
10 10
(...skipping 4291 matching lines...) Expand 10 before | Expand all | Expand 10 after
4302 4302
4303 // Get the prototype from the initial map. 4303 // Get the prototype from the initial map.
4304 ld(result, FieldMemOperand(result, Map::kPrototypeOffset)); 4304 ld(result, FieldMemOperand(result, Map::kPrototypeOffset));
4305 4305
4306 if (miss_on_bound_function) { 4306 if (miss_on_bound_function) {
4307 jmp(&done); 4307 jmp(&done);
4308 4308
4309 // Non-instance prototype: Fetch prototype from constructor field 4309 // Non-instance prototype: Fetch prototype from constructor field
4310 // in initial map. 4310 // in initial map.
4311 bind(&non_instance); 4311 bind(&non_instance);
4312 GetMapConstructor(result, result, scratch, at); 4312 GetMapConstructor(result, result, scratch, scratch);
4313 } 4313 }
4314 4314
4315 // All done. 4315 // All done.
4316 bind(&done); 4316 bind(&done);
4317 } 4317 }
4318 4318
4319 4319
4320 void MacroAssembler::GetObjectType(Register object, 4320 void MacroAssembler::GetObjectType(Register object,
4321 Register map, 4321 Register map,
4322 Register type_reg) { 4322 Register type_reg) {
(...skipping 1868 matching lines...) Expand 10 before | Expand all | Expand 10 after
6191 } 6191 }
6192 if (mag.shift > 0) sra(result, result, mag.shift); 6192 if (mag.shift > 0) sra(result, result, mag.shift);
6193 srl(at, dividend, 31); 6193 srl(at, dividend, 31);
6194 Addu(result, result, Operand(at)); 6194 Addu(result, result, Operand(at));
6195 } 6195 }
6196 6196
6197 6197
6198 } } // namespace v8::internal 6198 } } // namespace v8::internal
6199 6199
6200 #endif // V8_TARGET_ARCH_MIPS64 6200 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/lithium-codegen-mips64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698