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

Side by Side Diff: src/assembler.cc

Issue 1837513002: [es6] Add a flag to the Isolate that defines whether ES2015 tail call elimination is enabled or not. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: New changes Created 4 years, 8 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/assembler.h ('k') | src/external-reference-table.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 are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // 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 1614 matching lines...) Expand 10 before | Expand all | Expand 10 after
1625 ExternalReference ExternalReference::ForDeoptEntry(Address entry) { 1625 ExternalReference ExternalReference::ForDeoptEntry(Address entry) {
1626 return ExternalReference(entry); 1626 return ExternalReference(entry);
1627 } 1627 }
1628 1628
1629 1629
1630 ExternalReference ExternalReference::cpu_features() { 1630 ExternalReference ExternalReference::cpu_features() {
1631 DCHECK(CpuFeatures::initialized_); 1631 DCHECK(CpuFeatures::initialized_);
1632 return ExternalReference(&CpuFeatures::supported_); 1632 return ExternalReference(&CpuFeatures::supported_);
1633 } 1633 }
1634 1634
1635 ExternalReference ExternalReference::is_tail_call_elimination_enabled_address(
1636 Isolate* isolate) {
1637 return ExternalReference(isolate->is_tail_call_elimination_enabled_address());
1638 }
1635 1639
1636 ExternalReference ExternalReference::debug_is_active_address( 1640 ExternalReference ExternalReference::debug_is_active_address(
1637 Isolate* isolate) { 1641 Isolate* isolate) {
1638 return ExternalReference(isolate->debug()->is_active_address()); 1642 return ExternalReference(isolate->debug()->is_active_address());
1639 } 1643 }
1640 1644
1641 1645
1642 ExternalReference ExternalReference::debug_after_break_target_address( 1646 ExternalReference ExternalReference::debug_after_break_target_address(
1643 Isolate* isolate) { 1647 Isolate* isolate) {
1644 return ExternalReference(isolate->debug()->after_break_target_address()); 1648 return ExternalReference(isolate->debug()->after_break_target_address());
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
2076 2080
2077 2081
2078 void Assembler::DataAlign(int m) { 2082 void Assembler::DataAlign(int m) {
2079 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); 2083 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m));
2080 while ((pc_offset() & (m - 1)) != 0) { 2084 while ((pc_offset() & (m - 1)) != 0) {
2081 db(0); 2085 db(0);
2082 } 2086 }
2083 } 2087 }
2084 } // namespace internal 2088 } // namespace internal
2085 } // namespace v8 2089 } // namespace v8
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/external-reference-table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698