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

Side by Side Diff: src/assembler.cc

Issue 995013005: Simplify pending message script handling. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix hardcoded constant. Created 5 years, 9 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/compiler/ast-graph-builder.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 1255 matching lines...) Expand 10 before | Expand all | Expand 10 after
1266 return ExternalReference(isolate->pending_message_obj_address()); 1266 return ExternalReference(isolate->pending_message_obj_address());
1267 } 1267 }
1268 1268
1269 1269
1270 ExternalReference ExternalReference::address_of_has_pending_message( 1270 ExternalReference ExternalReference::address_of_has_pending_message(
1271 Isolate* isolate) { 1271 Isolate* isolate) {
1272 return ExternalReference(isolate->has_pending_message_address()); 1272 return ExternalReference(isolate->has_pending_message_address());
1273 } 1273 }
1274 1274
1275 1275
1276 ExternalReference ExternalReference::address_of_pending_message_script(
1277 Isolate* isolate) {
1278 return ExternalReference(isolate->pending_message_script_address());
1279 }
1280
1281
1282 ExternalReference ExternalReference::address_of_min_int() { 1276 ExternalReference ExternalReference::address_of_min_int() {
1283 return ExternalReference(reinterpret_cast<void*>(&double_constants.min_int)); 1277 return ExternalReference(reinterpret_cast<void*>(&double_constants.min_int));
1284 } 1278 }
1285 1279
1286 1280
1287 ExternalReference ExternalReference::address_of_one_half() { 1281 ExternalReference ExternalReference::address_of_one_half() {
1288 return ExternalReference(reinterpret_cast<void*>(&double_constants.one_half)); 1282 return ExternalReference(reinterpret_cast<void*>(&double_constants.one_half));
1289 } 1283 }
1290 1284
1291 1285
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
1683 RecordRelocInfo(RelocInfo::JS_RETURN); 1677 RecordRelocInfo(RelocInfo::JS_RETURN);
1684 } 1678 }
1685 1679
1686 1680
1687 void Assembler::RecordDebugBreakSlot() { 1681 void Assembler::RecordDebugBreakSlot() {
1688 positions_recorder()->WriteRecordedPositions(); 1682 positions_recorder()->WriteRecordedPositions();
1689 EnsureSpace ensure_space(this); 1683 EnsureSpace ensure_space(this);
1690 RecordRelocInfo(RelocInfo::DEBUG_BREAK_SLOT); 1684 RecordRelocInfo(RelocInfo::DEBUG_BREAK_SLOT);
1691 } 1685 }
1692 } } // namespace v8::internal 1686 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698