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 332673002: Introduce intrinsic to expose debug state to generated code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « src/assembler.h ('k') | src/collection.js » ('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 1410 matching lines...) Expand 10 before | Expand all | Expand 10 after
1421 return ExternalReference(entry); 1421 return ExternalReference(entry);
1422 } 1422 }
1423 1423
1424 1424
1425 ExternalReference ExternalReference::cpu_features() { 1425 ExternalReference ExternalReference::cpu_features() {
1426 ASSERT(CpuFeatures::initialized_); 1426 ASSERT(CpuFeatures::initialized_);
1427 return ExternalReference(&CpuFeatures::supported_); 1427 return ExternalReference(&CpuFeatures::supported_);
1428 } 1428 }
1429 1429
1430 1430
1431 ExternalReference ExternalReference::debug_is_active_address(
1432 Isolate* isolate) {
1433 return ExternalReference(isolate->debug()->is_active_address());
1434 }
1435
1436
1431 ExternalReference ExternalReference::debug_after_break_target_address( 1437 ExternalReference ExternalReference::debug_after_break_target_address(
1432 Isolate* isolate) { 1438 Isolate* isolate) {
1433 return ExternalReference(isolate->debug()->after_break_target_address()); 1439 return ExternalReference(isolate->debug()->after_break_target_address());
1434 } 1440 }
1435 1441
1436 1442
1437 ExternalReference 1443 ExternalReference
1438 ExternalReference::debug_restarter_frame_function_pointer_address( 1444 ExternalReference::debug_restarter_frame_function_pointer_address(
1439 Isolate* isolate) { 1445 Isolate* isolate) {
1440 return ExternalReference( 1446 return ExternalReference(
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1646 r2 = r2 - ad; 1652 r2 = r2 - ad;
1647 } 1653 }
1648 delta = ad - r2; 1654 delta = ad - r2;
1649 } while (q1 < delta || (q1 == delta && r1 == 0)); 1655 } while (q1 < delta || (q1 == delta && r1 == 0));
1650 int32_t mul = static_cast<int32_t>(q2 + 1); 1656 int32_t mul = static_cast<int32_t>(q2 + 1);
1651 multiplier_ = (d < 0) ? -mul : mul; 1657 multiplier_ = (d < 0) ? -mul : mul;
1652 shift_ = p - 32; 1658 shift_ = p - 32;
1653 } 1659 }
1654 1660
1655 } } // namespace v8::internal 1661 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/collection.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698