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

Side by Side Diff: src/assembler.cc

Issue 2648873002: [inspector] added creation frame for async call chains for promises (Closed)
Patch Set: fixed usage of external reference Created 3 years, 11 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
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 1546 matching lines...) Expand 10 before | Expand all | Expand 10 after
1557 ExternalReference ExternalReference::cpu_features() { 1557 ExternalReference ExternalReference::cpu_features() {
1558 DCHECK(CpuFeatures::initialized_); 1558 DCHECK(CpuFeatures::initialized_);
1559 return ExternalReference(&CpuFeatures::supported_); 1559 return ExternalReference(&CpuFeatures::supported_);
1560 } 1560 }
1561 1561
1562 ExternalReference ExternalReference::is_tail_call_elimination_enabled_address( 1562 ExternalReference ExternalReference::is_tail_call_elimination_enabled_address(
1563 Isolate* isolate) { 1563 Isolate* isolate) {
1564 return ExternalReference(isolate->is_tail_call_elimination_enabled_address()); 1564 return ExternalReference(isolate->is_tail_call_elimination_enabled_address());
1565 } 1565 }
1566 1566
1567 ExternalReference ExternalReference::promise_hook_or_debug_is_active_address(
1568 Isolate* isolate) {
1569 return ExternalReference(isolate->promise_hook_or_debug_is_active_address());
1570 }
1571
1567 ExternalReference ExternalReference::promise_hook_address(Isolate* isolate) { 1572 ExternalReference ExternalReference::promise_hook_address(Isolate* isolate) {
1568 return ExternalReference(isolate->promise_hook_address()); 1573 return ExternalReference(isolate->promise_hook_address());
1569 } 1574 }
1570 1575
1571 ExternalReference ExternalReference::debug_is_active_address( 1576 ExternalReference ExternalReference::debug_is_active_address(
1572 Isolate* isolate) { 1577 Isolate* isolate) {
1573 return ExternalReference(isolate->debug()->is_active_address()); 1578 return ExternalReference(isolate->debug()->is_active_address());
1574 } 1579 }
1575 1580
1576 ExternalReference ExternalReference::debug_hook_on_function_call_address( 1581 ExternalReference ExternalReference::debug_hook_on_function_call_address(
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
1925 1930
1926 1931
1927 void Assembler::DataAlign(int m) { 1932 void Assembler::DataAlign(int m) {
1928 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); 1933 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m));
1929 while ((pc_offset() & (m - 1)) != 0) { 1934 while ((pc_offset() & (m - 1)) != 0) {
1930 db(0); 1935 db(0);
1931 } 1936 }
1932 } 1937 }
1933 } // namespace internal 1938 } // namespace internal
1934 } // namespace v8 1939 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698