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

Side by Side Diff: src/mips/full-codegen-mips.cc

Issue 892613003: MIPS: Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove printf formatter changes. 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/code-stubs-mips.cc ('k') | src/mips/macro-assembler-mips.h » ('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 // Note on Mips implementation: 9 // Note on Mips implementation:
10 // 10 //
(...skipping 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after
1222 1222
1223 // Check if the expected map still matches that of the enumerable. 1223 // Check if the expected map still matches that of the enumerable.
1224 // If not, we may have to filter the key. 1224 // If not, we may have to filter the key.
1225 Label update_each; 1225 Label update_each;
1226 __ lw(a1, MemOperand(sp, 4 * kPointerSize)); 1226 __ lw(a1, MemOperand(sp, 4 * kPointerSize));
1227 __ lw(t0, FieldMemOperand(a1, HeapObject::kMapOffset)); 1227 __ lw(t0, FieldMemOperand(a1, HeapObject::kMapOffset));
1228 __ Branch(&update_each, eq, t0, Operand(a2)); 1228 __ Branch(&update_each, eq, t0, Operand(a2));
1229 1229
1230 // For proxies, no filtering is done. 1230 // For proxies, no filtering is done.
1231 // TODO(rossberg): What if only a prototype is a proxy? Not specified yet. 1231 // TODO(rossberg): What if only a prototype is a proxy? Not specified yet.
1232 DCHECK_EQ(Smi::FromInt(0), 0); 1232 DCHECK_EQ(static_cast<Smi*>(0), Smi::FromInt(0));
1233 __ Branch(&update_each, eq, a2, Operand(zero_reg)); 1233 __ Branch(&update_each, eq, a2, Operand(zero_reg));
1234 1234
1235 // Convert the entry to a string or (smi) 0 if it isn't a property 1235 // Convert the entry to a string or (smi) 0 if it isn't a property
1236 // any more. If the property has been removed while iterating, we 1236 // any more. If the property has been removed while iterating, we
1237 // just skip it. 1237 // just skip it.
1238 __ Push(a1, a3); // Enumerable and current entry. 1238 __ Push(a1, a3); // Enumerable and current entry.
1239 __ InvokeBuiltin(Builtins::FILTER_KEY, CALL_FUNCTION); 1239 __ InvokeBuiltin(Builtins::FILTER_KEY, CALL_FUNCTION);
1240 __ mov(a3, result_register()); 1240 __ mov(a3, result_register());
1241 __ Branch(loop_statement.continue_label(), eq, a3, Operand(zero_reg)); 1241 __ Branch(loop_statement.continue_label(), eq, a3, Operand(zero_reg));
1242 1242
(...skipping 4100 matching lines...) Expand 10 before | Expand all | Expand 10 after
5343 Assembler::target_address_at(pc_immediate_load_address)) == 5343 Assembler::target_address_at(pc_immediate_load_address)) ==
5344 reinterpret_cast<uint32_t>( 5344 reinterpret_cast<uint32_t>(
5345 isolate->builtins()->OsrAfterStackCheck()->entry())); 5345 isolate->builtins()->OsrAfterStackCheck()->entry()));
5346 return OSR_AFTER_STACK_CHECK; 5346 return OSR_AFTER_STACK_CHECK;
5347 } 5347 }
5348 5348
5349 5349
5350 } } // namespace v8::internal 5350 } } // namespace v8::internal
5351 5351
5352 #endif // V8_TARGET_ARCH_MIPS 5352 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips/macro-assembler-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698