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

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

Issue 1328963004: Revert of [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/ia32/assembler-ia32.h ('k') | src/ia32/builtins-ia32.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 1569 matching lines...) Expand 10 before | Expand all | Expand 10 after
1580 EMIT(0x0F); 1580 EMIT(0x0F);
1581 EMIT(0x80 | cc); 1581 EMIT(0x80 | cc);
1582 if (RelocInfo::IsRuntimeEntry(rmode)) { 1582 if (RelocInfo::IsRuntimeEntry(rmode)) {
1583 emit(reinterpret_cast<uint32_t>(entry), rmode); 1583 emit(reinterpret_cast<uint32_t>(entry), rmode);
1584 } else { 1584 } else {
1585 emit(entry - (pc_ + sizeof(int32_t)), rmode); 1585 emit(entry - (pc_ + sizeof(int32_t)), rmode);
1586 } 1586 }
1587 } 1587 }
1588 1588
1589 1589
1590 void Assembler::j(Condition cc, Handle<Code> code, RelocInfo::Mode rmode) { 1590 void Assembler::j(Condition cc, Handle<Code> code) {
1591 EnsureSpace ensure_space(this); 1591 EnsureSpace ensure_space(this);
1592 // 0000 1111 1000 tttn #32-bit disp 1592 // 0000 1111 1000 tttn #32-bit disp
1593 EMIT(0x0F); 1593 EMIT(0x0F);
1594 EMIT(0x80 | cc); 1594 EMIT(0x80 | cc);
1595 emit(code, rmode); 1595 emit(code, RelocInfo::CODE_TARGET);
1596 } 1596 }
1597 1597
1598 1598
1599 // FPU instructions. 1599 // FPU instructions.
1600 1600
1601 void Assembler::fld(int i) { 1601 void Assembler::fld(int i) {
1602 EnsureSpace ensure_space(this); 1602 EnsureSpace ensure_space(this);
1603 emit_farith(0xD9, 0xC0, i); 1603 emit_farith(0xD9, 0xC0, i);
1604 } 1604 }
1605 1605
(...skipping 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after
2948 fflush(coverage_log); 2948 fflush(coverage_log);
2949 } 2949 }
2950 } 2950 }
2951 2951
2952 #endif 2952 #endif
2953 2953
2954 } // namespace internal 2954 } // namespace internal
2955 } // namespace v8 2955 } // namespace v8
2956 2956
2957 #endif // V8_TARGET_ARCH_IA32 2957 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698