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

Side by Side Diff: src/arm/lithium-codegen-arm.cc

Issue 6528011: Fix ARM debug build: remove ASSERT. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
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 1900 matching lines...) Expand 10 before | Expand all | Expand 10 after
1911 1911
1912 1912
1913 void LCodeGen::DoHasCachedArrayIndexAndBranch( 1913 void LCodeGen::DoHasCachedArrayIndexAndBranch(
1914 LHasCachedArrayIndexAndBranch* instr) { 1914 LHasCachedArrayIndexAndBranch* instr) {
1915 Register input = ToRegister(instr->InputAt(0)); 1915 Register input = ToRegister(instr->InputAt(0));
1916 Register scratch = scratch0(); 1916 Register scratch = scratch0();
1917 1917
1918 int true_block = chunk_->LookupDestination(instr->true_block_id()); 1918 int true_block = chunk_->LookupDestination(instr->true_block_id());
1919 int false_block = chunk_->LookupDestination(instr->false_block_id()); 1919 int false_block = chunk_->LookupDestination(instr->false_block_id());
1920 1920
1921 ASSERT(instr->hydrogen()->value()->representation().IsTagged());
1922 __ ldr(scratch, 1921 __ ldr(scratch,
1923 FieldMemOperand(input, String::kContainsCachedArrayIndexMask)); 1922 FieldMemOperand(input, String::kContainsCachedArrayIndexMask));
1924 __ tst(scratch, Operand(String::kContainsCachedArrayIndexMask)); 1923 __ tst(scratch, Operand(String::kContainsCachedArrayIndexMask));
1925 EmitBranch(true_block, false_block, ne); 1924 EmitBranch(true_block, false_block, ne);
1926 } 1925 }
1927 1926
1928 1927
1929 // Branches to a label or falls through with the answer in flags. Trashes 1928 // Branches to a label or falls through with the answer in flags. Trashes
1930 // the temp registers, but not the input. Only input and temp2 may alias. 1929 // the temp registers, but not the input. Only input and temp2 may alias.
1931 void LCodeGen::EmitClassOfTest(Label* is_true, 1930 void LCodeGen::EmitClassOfTest(Label* is_true,
(...skipping 2015 matching lines...) Expand 10 before | Expand all | Expand 10 after
3947 ASSERT(!environment->HasBeenRegistered()); 3946 ASSERT(!environment->HasBeenRegistered());
3948 RegisterEnvironmentForDeoptimization(environment); 3947 RegisterEnvironmentForDeoptimization(environment);
3949 ASSERT(osr_pc_offset_ == -1); 3948 ASSERT(osr_pc_offset_ == -1);
3950 osr_pc_offset_ = masm()->pc_offset(); 3949 osr_pc_offset_ = masm()->pc_offset();
3951 } 3950 }
3952 3951
3953 3952
3954 #undef __ 3953 #undef __
3955 3954
3956 } } // namespace v8::internal 3955 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698