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

Side by Side Diff: src/debug.cc

Issue 8318014: Make _CallFunction proxy-aware. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed Kevin's comment. Created 9 years, 1 month 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/debug.h ('k') | src/hydrogen.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1558 matching lines...) Expand 10 before | Expand all | Expand 10 after
1569 } 1569 }
1570 } 1570 }
1571 if (RelocInfo::IsConstructCall(mode)) { 1571 if (RelocInfo::IsConstructCall(mode)) {
1572 Handle<Code> result = 1572 Handle<Code> result =
1573 Isolate::Current()->builtins()->ConstructCall_DebugBreak(); 1573 Isolate::Current()->builtins()->ConstructCall_DebugBreak();
1574 return result; 1574 return result;
1575 } 1575 }
1576 if (code->kind() == Code::STUB) { 1576 if (code->kind() == Code::STUB) {
1577 ASSERT(code->major_key() == CodeStub::CallFunction); 1577 ASSERT(code->major_key() == CodeStub::CallFunction);
1578 Handle<Code> result = 1578 Handle<Code> result =
1579 Isolate::Current()->builtins()->StubNoRegisters_DebugBreak(); 1579 Isolate::Current()->builtins()->CallFunctionStub_DebugBreak();
1580 return result; 1580 return result;
1581 } 1581 }
1582 1582
1583 UNREACHABLE(); 1583 UNREACHABLE();
1584 return Handle<Code>::null(); 1584 return Handle<Code>::null();
1585 } 1585 }
1586 1586
1587 1587
1588 // Simple function for returning the source positions for active break points. 1588 // Simple function for returning the source positions for active break points.
1589 Handle<Object> Debug::GetSourceBreakLocations( 1589 Handle<Object> Debug::GetSourceBreakLocations(
(...skipping 1732 matching lines...) Expand 10 before | Expand all | Expand 10 after
3322 { 3322 {
3323 Locker locker; 3323 Locker locker;
3324 Isolate::Current()->debugger()->CallMessageDispatchHandler(); 3324 Isolate::Current()->debugger()->CallMessageDispatchHandler();
3325 } 3325 }
3326 } 3326 }
3327 } 3327 }
3328 3328
3329 #endif // ENABLE_DEBUGGER_SUPPORT 3329 #endif // ENABLE_DEBUGGER_SUPPORT
3330 3330
3331 } } // namespace v8::internal 3331 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/debug.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698