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

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

Issue 275433002: Turn CHECK()s into ASSERT()s. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | src/arm64/lithium-codegen-arm64.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 "v8.h" 5 #include "v8.h"
6 6
7 #include "arm/lithium-codegen-arm.h" 7 #include "arm/lithium-codegen-arm.h"
8 #include "arm/lithium-gap-resolver-arm.h" 8 #include "arm/lithium-gap-resolver-arm.h"
9 #include "code-stubs.h" 9 #include "code-stubs.h"
10 #include "stub-cache.h" 10 #include "stub-cache.h"
(...skipping 1859 matching lines...) Expand 10 before | Expand all | Expand 10 after
1870 void LCodeGen::DoConstantE(LConstantE* instr) { 1870 void LCodeGen::DoConstantE(LConstantE* instr) {
1871 __ mov(ToRegister(instr->result()), Operand(instr->value())); 1871 __ mov(ToRegister(instr->result()), Operand(instr->value()));
1872 } 1872 }
1873 1873
1874 1874
1875 void LCodeGen::DoConstantT(LConstantT* instr) { 1875 void LCodeGen::DoConstantT(LConstantT* instr) {
1876 Handle<Object> object = instr->value(isolate()); 1876 Handle<Object> object = instr->value(isolate());
1877 AllowDeferredHandleDereference smi_check; 1877 AllowDeferredHandleDereference smi_check;
1878 if (instr->hydrogen()->HasObjectMap()) { 1878 if (instr->hydrogen()->HasObjectMap()) {
1879 Handle<Map> object_map = instr->hydrogen()->ObjectMap().handle(); 1879 Handle<Map> object_map = instr->hydrogen()->ObjectMap().handle();
1880 CHECK(object->IsHeapObject()); 1880 ASSERT(object->IsHeapObject());
1881 CHECK(!object_map->is_stable() || 1881 ASSERT(!object_map->is_stable() ||
1882 *object_map == Handle<HeapObject>::cast(object)->map()); 1882 *object_map == Handle<HeapObject>::cast(object)->map());
1883 USE(object_map);
1883 } 1884 }
1884 __ Move(ToRegister(instr->result()), object); 1885 __ Move(ToRegister(instr->result()), object);
1885 } 1886 }
1886 1887
1887 1888
1888 void LCodeGen::DoMapEnumLength(LMapEnumLength* instr) { 1889 void LCodeGen::DoMapEnumLength(LMapEnumLength* instr) {
1889 Register result = ToRegister(instr->result()); 1890 Register result = ToRegister(instr->result());
1890 Register map = ToRegister(instr->value()); 1891 Register map = ToRegister(instr->value());
1891 __ EnumLength(result, map); 1892 __ EnumLength(result, map);
1892 } 1893 }
(...skipping 3950 matching lines...) Expand 10 before | Expand all | Expand 10 after
5843 __ ldr(result, FieldMemOperand(scratch, 5844 __ ldr(result, FieldMemOperand(scratch,
5844 FixedArray::kHeaderSize - kPointerSize)); 5845 FixedArray::kHeaderSize - kPointerSize));
5845 __ bind(deferred->exit()); 5846 __ bind(deferred->exit());
5846 __ bind(&done); 5847 __ bind(&done);
5847 } 5848 }
5848 5849
5849 5850
5850 #undef __ 5851 #undef __
5851 5852
5852 } } // namespace v8::internal 5853 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698