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

Side by Side Diff: src/assembler.cc

Issue 998943003: Simplify pending message object handling. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments. 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 1249 matching lines...) Expand 10 before | Expand all | Expand 10 after
1260 return ExternalReference(isolate->scheduled_exception_address()); 1260 return ExternalReference(isolate->scheduled_exception_address());
1261 } 1261 }
1262 1262
1263 1263
1264 ExternalReference ExternalReference::address_of_pending_message_obj( 1264 ExternalReference ExternalReference::address_of_pending_message_obj(
1265 Isolate* isolate) { 1265 Isolate* isolate) {
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(
1271 Isolate* isolate) {
1272 return ExternalReference(isolate->has_pending_message_address());
1273 }
1274
1275
1276 ExternalReference ExternalReference::address_of_min_int() { 1270 ExternalReference ExternalReference::address_of_min_int() {
1277 return ExternalReference(reinterpret_cast<void*>(&double_constants.min_int)); 1271 return ExternalReference(reinterpret_cast<void*>(&double_constants.min_int));
1278 } 1272 }
1279 1273
1280 1274
1281 ExternalReference ExternalReference::address_of_one_half() { 1275 ExternalReference ExternalReference::address_of_one_half() {
1282 return ExternalReference(reinterpret_cast<void*>(&double_constants.one_half)); 1276 return ExternalReference(reinterpret_cast<void*>(&double_constants.one_half));
1283 } 1277 }
1284 1278
1285 1279
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
1677 RecordRelocInfo(RelocInfo::JS_RETURN); 1671 RecordRelocInfo(RelocInfo::JS_RETURN);
1678 } 1672 }
1679 1673
1680 1674
1681 void Assembler::RecordDebugBreakSlot() { 1675 void Assembler::RecordDebugBreakSlot() {
1682 positions_recorder()->WriteRecordedPositions(); 1676 positions_recorder()->WriteRecordedPositions();
1683 EnsureSpace ensure_space(this); 1677 EnsureSpace ensure_space(this);
1684 RecordRelocInfo(RelocInfo::DEBUG_BREAK_SLOT); 1678 RecordRelocInfo(RelocInfo::DEBUG_BREAK_SLOT);
1685 } 1679 }
1686 } } // namespace v8::internal 1680 } } // 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