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

Side by Side Diff: src/arm/macro-assembler-arm.cc

Issue 15024004: ARM: Fix register name in AllocateAsciiConsString. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1921 matching lines...) Expand 10 before | Expand all | Expand 10 after
1932 Register length, 1932 Register length,
1933 Register scratch1, 1933 Register scratch1,
1934 Register scratch2, 1934 Register scratch2,
1935 Label* gc_required) { 1935 Label* gc_required) {
1936 Label allocate_new_space, install_map; 1936 Label allocate_new_space, install_map;
1937 AllocationFlags flags = TAG_OBJECT; 1937 AllocationFlags flags = TAG_OBJECT;
1938 1938
1939 ExternalReference high_promotion_mode = ExternalReference:: 1939 ExternalReference high_promotion_mode = ExternalReference::
1940 new_space_high_promotion_mode_active_address(isolate()); 1940 new_space_high_promotion_mode_active_address(isolate());
1941 mov(scratch1, Operand(high_promotion_mode)); 1941 mov(scratch1, Operand(high_promotion_mode));
1942 ldr(scratch1, MemOperand(r4, 0)); 1942 ldr(scratch1, MemOperand(scratch1, 0));
1943 cmp(scratch1, Operand::Zero()); 1943 cmp(scratch1, Operand::Zero());
1944 b(eq, &allocate_new_space); 1944 b(eq, &allocate_new_space);
1945 1945
1946 Allocate(ConsString::kSize, 1946 Allocate(ConsString::kSize,
1947 result, 1947 result,
1948 scratch1, 1948 scratch1,
1949 scratch2, 1949 scratch2,
1950 gc_required, 1950 gc_required,
1951 static_cast<AllocationFlags>(flags | PRETENURE_OLD_POINTER_SPACE)); 1951 static_cast<AllocationFlags>(flags | PRETENURE_OLD_POINTER_SPACE));
1952 1952
(...skipping 1905 matching lines...) Expand 10 before | Expand all | Expand 10 after
3858 void CodePatcher::EmitCondition(Condition cond) { 3858 void CodePatcher::EmitCondition(Condition cond) {
3859 Instr instr = Assembler::instr_at(masm_.pc_); 3859 Instr instr = Assembler::instr_at(masm_.pc_);
3860 instr = (instr & ~kCondMask) | cond; 3860 instr = (instr & ~kCondMask) | cond;
3861 masm_.emit(instr); 3861 masm_.emit(instr);
3862 } 3862 }
3863 3863
3864 3864
3865 } } // namespace v8::internal 3865 } } // namespace v8::internal
3866 3866
3867 #endif // V8_TARGET_ARCH_ARM 3867 #endif // V8_TARGET_ARCH_ARM
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