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

Side by Side Diff: src/mips/macro-assembler-mips.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/mips/lithium-codegen-mips.cc ('k') | src/mips64/lithium-codegen-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 <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_MIPS 9 #if V8_TARGET_ARCH_MIPS
10 10
(...skipping 4369 matching lines...) Expand 10 before | Expand all | Expand 10 after
4380 4380
4381 // Get the prototype from the initial map. 4381 // Get the prototype from the initial map.
4382 lw(result, FieldMemOperand(result, Map::kPrototypeOffset)); 4382 lw(result, FieldMemOperand(result, Map::kPrototypeOffset));
4383 4383
4384 if (miss_on_bound_function) { 4384 if (miss_on_bound_function) {
4385 jmp(&done); 4385 jmp(&done);
4386 4386
4387 // Non-instance prototype: Fetch prototype from constructor field 4387 // Non-instance prototype: Fetch prototype from constructor field
4388 // in initial map. 4388 // in initial map.
4389 bind(&non_instance); 4389 bind(&non_instance);
4390 GetMapConstructor(result, result, scratch, at); 4390 GetMapConstructor(result, result, scratch, scratch);
4391 } 4391 }
4392 4392
4393 // All done. 4393 // All done.
4394 bind(&done); 4394 bind(&done);
4395 } 4395 }
4396 4396
4397 4397
4398 void MacroAssembler::GetObjectType(Register object, 4398 void MacroAssembler::GetObjectType(Register object,
4399 Register map, 4399 Register map,
4400 Register type_reg) { 4400 Register type_reg) {
(...skipping 1770 matching lines...) Expand 10 before | Expand all | Expand 10 after
6171 } 6171 }
6172 if (mag.shift > 0) sra(result, result, mag.shift); 6172 if (mag.shift > 0) sra(result, result, mag.shift);
6173 srl(at, dividend, 31); 6173 srl(at, dividend, 31);
6174 Addu(result, result, Operand(at)); 6174 Addu(result, result, Operand(at));
6175 } 6175 }
6176 6176
6177 6177
6178 } } // namespace v8::internal 6178 } } // namespace v8::internal
6179 6179
6180 #endif // V8_TARGET_ARCH_MIPS 6180 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips64/lithium-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698