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

Side by Side Diff: src/x87/assembler-x87.cc

Issue 1332703002: X87: [builtins] Unify the various versions of [[Call]] with a Call builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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/x87/assembler-x87.h ('k') | src/x87/builtins-x87.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after
1451 EMIT(0x0F); 1451 EMIT(0x0F);
1452 EMIT(0x80 | cc); 1452 EMIT(0x80 | cc);
1453 if (RelocInfo::IsRuntimeEntry(rmode)) { 1453 if (RelocInfo::IsRuntimeEntry(rmode)) {
1454 emit(reinterpret_cast<uint32_t>(entry), rmode); 1454 emit(reinterpret_cast<uint32_t>(entry), rmode);
1455 } else { 1455 } else {
1456 emit(entry - (pc_ + sizeof(int32_t)), rmode); 1456 emit(entry - (pc_ + sizeof(int32_t)), rmode);
1457 } 1457 }
1458 } 1458 }
1459 1459
1460 1460
1461 void Assembler::j(Condition cc, Handle<Code> code) { 1461 void Assembler::j(Condition cc, Handle<Code> code, RelocInfo::Mode rmode) {
1462 EnsureSpace ensure_space(this); 1462 EnsureSpace ensure_space(this);
1463 // 0000 1111 1000 tttn #32-bit disp 1463 // 0000 1111 1000 tttn #32-bit disp
1464 EMIT(0x0F); 1464 EMIT(0x0F);
1465 EMIT(0x80 | cc); 1465 EMIT(0x80 | cc);
1466 emit(code, RelocInfo::CODE_TARGET); 1466 emit(code, rmode);
1467 } 1467 }
1468 1468
1469 1469
1470 // FPU instructions. 1470 // FPU instructions.
1471 1471
1472 void Assembler::fld(int i) { 1472 void Assembler::fld(int i) {
1473 EnsureSpace ensure_space(this); 1473 EnsureSpace ensure_space(this);
1474 emit_farith(0xD9, 0xC0, i); 1474 emit_farith(0xD9, 0xC0, i);
1475 } 1475 }
1476 1476
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
2129 fflush(coverage_log); 2129 fflush(coverage_log);
2130 } 2130 }
2131 } 2131 }
2132 2132
2133 #endif 2133 #endif
2134 2134
2135 } // namespace internal 2135 } // namespace internal
2136 } // namespace v8 2136 } // namespace v8
2137 2137
2138 #endif // V8_TARGET_ARCH_X87 2138 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x87/assembler-x87.h ('k') | src/x87/builtins-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698