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

Side by Side Diff: src/assembler.cc

Issue 2636913002: [liveedit] reimplement frame restarting. (Closed)
Patch Set: rebase Created 3 years, 10 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/bailout-reason.h » ('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 1561 matching lines...) Expand 10 before | Expand all | Expand 10 after
1572 ExternalReference ExternalReference::debug_is_active_address( 1572 ExternalReference ExternalReference::debug_is_active_address(
1573 Isolate* isolate) { 1573 Isolate* isolate) {
1574 return ExternalReference(isolate->debug()->is_active_address()); 1574 return ExternalReference(isolate->debug()->is_active_address());
1575 } 1575 }
1576 1576
1577 ExternalReference ExternalReference::debug_hook_on_function_call_address( 1577 ExternalReference ExternalReference::debug_hook_on_function_call_address(
1578 Isolate* isolate) { 1578 Isolate* isolate) {
1579 return ExternalReference(isolate->debug()->hook_on_function_call_address()); 1579 return ExternalReference(isolate->debug()->hook_on_function_call_address());
1580 } 1580 }
1581 1581
1582 ExternalReference ExternalReference::debug_after_break_target_address(
1583 Isolate* isolate) {
1584 return ExternalReference(isolate->debug()->after_break_target_address());
1585 }
1586
1587
1588 ExternalReference ExternalReference::runtime_function_table_address( 1582 ExternalReference ExternalReference::runtime_function_table_address(
1589 Isolate* isolate) { 1583 Isolate* isolate) {
1590 return ExternalReference( 1584 return ExternalReference(
1591 const_cast<Runtime::Function*>(Runtime::RuntimeFunctionTable(isolate))); 1585 const_cast<Runtime::Function*>(Runtime::RuntimeFunctionTable(isolate)));
1592 } 1586 }
1593 1587
1594 1588
1595 double power_helper(Isolate* isolate, double x, double y) { 1589 double power_helper(Isolate* isolate, double x, double y) {
1596 int y_int = static_cast<int>(y); 1590 int y_int = static_cast<int>(y);
1597 if (y == y_int) { 1591 if (y == y_int) {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1658 ExternalReference ExternalReference::debug_last_step_action_address( 1652 ExternalReference ExternalReference::debug_last_step_action_address(
1659 Isolate* isolate) { 1653 Isolate* isolate) {
1660 return ExternalReference(isolate->debug()->last_step_action_address()); 1654 return ExternalReference(isolate->debug()->last_step_action_address());
1661 } 1655 }
1662 1656
1663 ExternalReference ExternalReference::debug_suspended_generator_address( 1657 ExternalReference ExternalReference::debug_suspended_generator_address(
1664 Isolate* isolate) { 1658 Isolate* isolate) {
1665 return ExternalReference(isolate->debug()->suspended_generator_address()); 1659 return ExternalReference(isolate->debug()->suspended_generator_address());
1666 } 1660 }
1667 1661
1662 ExternalReference ExternalReference::debug_restart_fp_address(
1663 Isolate* isolate) {
1664 return ExternalReference(isolate->debug()->restart_fp_address());
1665 }
1666
1668 ExternalReference ExternalReference::fixed_typed_array_base_data_offset() { 1667 ExternalReference ExternalReference::fixed_typed_array_base_data_offset() {
1669 return ExternalReference(reinterpret_cast<void*>( 1668 return ExternalReference(reinterpret_cast<void*>(
1670 FixedTypedArrayBase::kDataOffset - kHeapObjectTag)); 1669 FixedTypedArrayBase::kDataOffset - kHeapObjectTag));
1671 } 1670 }
1672 1671
1673 1672
1674 bool operator==(ExternalReference lhs, ExternalReference rhs) { 1673 bool operator==(ExternalReference lhs, ExternalReference rhs) {
1675 return lhs.address() == rhs.address(); 1674 return lhs.address() == rhs.address();
1676 } 1675 }
1677 1676
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
1926 1925
1927 1926
1928 void Assembler::DataAlign(int m) { 1927 void Assembler::DataAlign(int m) {
1929 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); 1928 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m));
1930 while ((pc_offset() & (m - 1)) != 0) { 1929 while ((pc_offset() & (m - 1)) != 0) {
1931 db(0); 1930 db(0);
1932 } 1931 }
1933 } 1932 }
1934 } // namespace internal 1933 } // namespace internal
1935 } // namespace v8 1934 } // namespace v8
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/bailout-reason.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698