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

Side by Side Diff: src/s390/codegen-s390.cc

Issue 2929843002: PPC/s390: [compiler] Delay allocation of code-embedded heap numbers. (Closed)
Patch Set: missing codegen changes Created 3 years, 6 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/s390/assembler-s390.cc ('k') | test/cctest/test-assembler-ppc.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/s390/codegen-s390.h" 5 #include "src/s390/codegen-s390.h"
6 6
7 #if V8_TARGET_ARCH_S390 7 #if V8_TARGET_ARCH_S390
8 8
9 #include <memory> 9 #include <memory>
10 10
(...skipping 17 matching lines...) Expand all
28 28
29 MacroAssembler masm(isolate, buffer, static_cast<int>(actual_size), 29 MacroAssembler masm(isolate, buffer, static_cast<int>(actual_size),
30 CodeObjectRequired::kNo); 30 CodeObjectRequired::kNo);
31 31
32 __ MovFromFloatParameter(d0); 32 __ MovFromFloatParameter(d0);
33 __ sqdbr(d0, d0); 33 __ sqdbr(d0, d0);
34 __ MovToFloatResult(d0); 34 __ MovToFloatResult(d0);
35 __ Ret(); 35 __ Ret();
36 36
37 CodeDesc desc; 37 CodeDesc desc;
38 masm.GetCode(&desc); 38 masm.GetCode(isolate, &desc);
39 DCHECK(ABI_USES_FUNCTION_DESCRIPTORS || 39 DCHECK(ABI_USES_FUNCTION_DESCRIPTORS ||
40 !RelocInfo::RequiresRelocation(isolate, desc)); 40 !RelocInfo::RequiresRelocation(isolate, desc));
41 41
42 Assembler::FlushICache(isolate, buffer, actual_size); 42 Assembler::FlushICache(isolate, buffer, actual_size);
43 base::OS::ProtectCode(buffer, actual_size); 43 base::OS::ProtectCode(buffer, actual_size);
44 return FUNCTION_CAST<UnaryMathFunctionWithIsolate>(buffer); 44 return FUNCTION_CAST<UnaryMathFunctionWithIsolate>(buffer);
45 #endif 45 #endif
46 } 46 }
47 47
48 #undef __ 48 #undef __
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 // (kNoCodeAgeSequenceLength - kCodeAgingSequenceLength) bytes. 232 // (kNoCodeAgeSequenceLength - kCodeAgingSequenceLength) bytes.
233 patcher.masm()->nop(); // 2-byte nops(). 233 patcher.masm()->nop(); // 2-byte nops().
234 } 234 }
235 } 235 }
236 } 236 }
237 237
238 } // namespace internal 238 } // namespace internal
239 } // namespace v8 239 } // namespace v8
240 240
241 #endif // V8_TARGET_ARCH_S390 241 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « src/s390/assembler-s390.cc ('k') | test/cctest/test-assembler-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698