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

Side by Side Diff: src/crankshaft/mips/lithium-codegen-mips.cc

Issue 1845463003: Remove usages of Heap::NewSpaceStart and its external reference (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Only use 1 constant, reordered checks a bit to have earlier bail outs for old space Created 4 years, 8 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/assembler.cc ('k') | src/crankshaft/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.7 1 // Copyright 2012 the V8 project authors. All rights reserved.7
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 4203 matching lines...) Expand 10 before | Expand all | Expand 10 after
4214 instr->pointer_map(), 0, Safepoint::kLazyDeopt); 4214 instr->pointer_map(), 0, Safepoint::kLazyDeopt);
4215 } 4215 }
4216 __ bind(&not_applicable); 4216 __ bind(&not_applicable);
4217 } 4217 }
4218 4218
4219 4219
4220 void LCodeGen::DoTrapAllocationMemento(LTrapAllocationMemento* instr) { 4220 void LCodeGen::DoTrapAllocationMemento(LTrapAllocationMemento* instr) {
4221 Register object = ToRegister(instr->object()); 4221 Register object = ToRegister(instr->object());
4222 Register temp = ToRegister(instr->temp()); 4222 Register temp = ToRegister(instr->temp());
4223 Label no_memento_found; 4223 Label no_memento_found;
4224 __ TestJSArrayForAllocationMemento(object, temp, &no_memento_found, 4224 __ TestJSArrayForAllocationMemento(object, temp, &no_memento_found);
4225 ne, &no_memento_found);
4226 DeoptimizeIf(al, instr); 4225 DeoptimizeIf(al, instr);
4227 __ bind(&no_memento_found); 4226 __ bind(&no_memento_found);
4228 } 4227 }
4229 4228
4230 4229
4231 void LCodeGen::DoStringAdd(LStringAdd* instr) { 4230 void LCodeGen::DoStringAdd(LStringAdd* instr) {
4232 DCHECK(ToRegister(instr->context()).is(cp)); 4231 DCHECK(ToRegister(instr->context()).is(cp));
4233 DCHECK(ToRegister(instr->left()).is(a1)); 4232 DCHECK(ToRegister(instr->left()).is(a1));
4234 DCHECK(ToRegister(instr->right()).is(a0)); 4233 DCHECK(ToRegister(instr->right()).is(a0));
4235 StringAddStub stub(isolate(), 4234 StringAddStub stub(isolate(),
(...skipping 1319 matching lines...) Expand 10 before | Expand all | Expand 10 after
5555 __ lw(result, FieldMemOperand(scratch, 5554 __ lw(result, FieldMemOperand(scratch,
5556 FixedArray::kHeaderSize - kPointerSize)); 5555 FixedArray::kHeaderSize - kPointerSize));
5557 __ bind(deferred->exit()); 5556 __ bind(deferred->exit());
5558 __ bind(&done); 5557 __ bind(&done);
5559 } 5558 }
5560 5559
5561 #undef __ 5560 #undef __
5562 5561
5563 } // namespace internal 5562 } // namespace internal
5564 } // namespace v8 5563 } // namespace v8
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/crankshaft/mips64/lithium-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698