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

Side by Side Diff: src/liveedit.cc

Issue 7849020: Use more style-guide-friendly names for some constants. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed the long line. Created 9 years, 3 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/isolate.cc ('k') | src/mips/code-stubs-mips.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 1432 matching lines...) Expand 10 before | Expand all | Expand 10 after
1443 return false; 1443 return false;
1444 } 1444 }
1445 1445
1446 1446
1447 // Iterates over handler chain and removes all elements that are inside 1447 // Iterates over handler chain and removes all elements that are inside
1448 // frames being dropped. 1448 // frames being dropped.
1449 static bool FixTryCatchHandler(StackFrame* top_frame, 1449 static bool FixTryCatchHandler(StackFrame* top_frame,
1450 StackFrame* bottom_frame) { 1450 StackFrame* bottom_frame) {
1451 Address* pointer_address = 1451 Address* pointer_address =
1452 &Memory::Address_at(Isolate::Current()->get_address_from_id( 1452 &Memory::Address_at(Isolate::Current()->get_address_from_id(
1453 Isolate::k_handler_address)); 1453 Isolate::kHandlerAddress));
1454 1454
1455 while (*pointer_address < top_frame->sp()) { 1455 while (*pointer_address < top_frame->sp()) {
1456 pointer_address = &Memory::Address_at(*pointer_address); 1456 pointer_address = &Memory::Address_at(*pointer_address);
1457 } 1457 }
1458 Address* above_frame_address = pointer_address; 1458 Address* above_frame_address = pointer_address;
1459 while (*pointer_address < bottom_frame->fp()) { 1459 while (*pointer_address < bottom_frame->fp()) {
1460 pointer_address = &Memory::Address_at(*pointer_address); 1460 pointer_address = &Memory::Address_at(*pointer_address);
1461 } 1461 }
1462 bool change = *above_frame_address != *pointer_address; 1462 bool change = *above_frame_address != *pointer_address;
1463 *above_frame_address = *pointer_address; 1463 *above_frame_address = *pointer_address;
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
1777 1777
1778 bool LiveEditFunctionTracker::IsActive(Isolate* isolate) { 1778 bool LiveEditFunctionTracker::IsActive(Isolate* isolate) {
1779 return false; 1779 return false;
1780 } 1780 }
1781 1781
1782 #endif // ENABLE_DEBUGGER_SUPPORT 1782 #endif // ENABLE_DEBUGGER_SUPPORT
1783 1783
1784 1784
1785 1785
1786 } } // namespace v8::internal 1786 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698