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

Side by Side Diff: src/assembler.h

Issue 2575313002: [promisehook] Implement PromiseHook (Closed)
Patch Set: move resolve hook Created 4 years 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 1027 matching lines...) Expand 10 before | Expand all | Expand 10 after
1038 static ExternalReference is_tail_call_elimination_enabled_address( 1038 static ExternalReference is_tail_call_elimination_enabled_address(
1039 Isolate* isolate); 1039 Isolate* isolate);
1040 1040
1041 static ExternalReference debug_is_active_address(Isolate* isolate); 1041 static ExternalReference debug_is_active_address(Isolate* isolate);
1042 static ExternalReference debug_after_break_target_address(Isolate* isolate); 1042 static ExternalReference debug_after_break_target_address(Isolate* isolate);
1043 1043
1044 static ExternalReference is_profiling_address(Isolate* isolate); 1044 static ExternalReference is_profiling_address(Isolate* isolate);
1045 static ExternalReference invoke_function_callback(Isolate* isolate); 1045 static ExternalReference invoke_function_callback(Isolate* isolate);
1046 static ExternalReference invoke_accessor_getter_callback(Isolate* isolate); 1046 static ExternalReference invoke_accessor_getter_callback(Isolate* isolate);
1047 1047
1048 static ExternalReference is_promisehook_enabled_address(Isolate* isolate); 1048 static ExternalReference promise_hook_address(Isolate* isolate);
1049 1049
1050 V8_EXPORT_PRIVATE static ExternalReference runtime_function_table_address( 1050 V8_EXPORT_PRIVATE static ExternalReference runtime_function_table_address(
1051 Isolate* isolate); 1051 Isolate* isolate);
1052 1052
1053 Address address() const { return reinterpret_cast<Address>(address_); } 1053 Address address() const { return reinterpret_cast<Address>(address_); }
1054 1054
1055 // Used to read out the last step action of the debugger. 1055 // Used to read out the last step action of the debugger.
1056 static ExternalReference debug_last_step_action_address(Isolate* isolate); 1056 static ExternalReference debug_last_step_action_address(Isolate* isolate);
1057 1057
1058 // Used to check for suspended generator, used for stepping across await call. 1058 // Used to check for suspended generator, used for stepping across await call.
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
1282 std::vector<ConstantPoolEntry> shared_entries; 1282 std::vector<ConstantPoolEntry> shared_entries;
1283 }; 1283 };
1284 1284
1285 Label emitted_label_; // Records pc_offset of emitted pool 1285 Label emitted_label_; // Records pc_offset of emitted pool
1286 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; 1286 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES];
1287 }; 1287 };
1288 1288
1289 } // namespace internal 1289 } // namespace internal
1290 } // namespace v8 1290 } // namespace v8
1291 #endif // V8_ASSEMBLER_H_ 1291 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/assembler.cc » ('j') | src/builtins/builtins-promise.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698