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

Side by Side Diff: src/top.cc

Issue 149068: - Inlined the code for make simple cons strings.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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
« src/heap.cc ('K') | « src/top.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 } 604 }
605 605
606 606
607 Failure* Top::ReThrow(Object* exception, MessageLocation* location) { 607 Failure* Top::ReThrow(Object* exception, MessageLocation* location) {
608 // Set the exception being re-thrown. 608 // Set the exception being re-thrown.
609 set_pending_exception(exception); 609 set_pending_exception(exception);
610 return Failure::Exception(); 610 return Failure::Exception();
611 } 611 }
612 612
613 613
614 Failure* Top::ThrowIllegalOperation() {
615 return Throw(Heap::illegal_access_symbol());
616 }
617
618
614 void Top::ScheduleThrow(Object* exception) { 619 void Top::ScheduleThrow(Object* exception) {
615 // When scheduling a throw we first throw the exception to get the 620 // When scheduling a throw we first throw the exception to get the
616 // error reporting if it is uncaught before rescheduling it. 621 // error reporting if it is uncaught before rescheduling it.
617 Throw(exception); 622 Throw(exception);
618 thread_local_.scheduled_exception_ = pending_exception(); 623 thread_local_.scheduled_exception_ = pending_exception();
619 thread_local_.external_caught_exception_ = false; 624 thread_local_.external_caught_exception_ = false;
620 clear_pending_exception(); 625 clear_pending_exception();
621 } 626 }
622 627
623 628
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 Top::break_access_->Lock(); 933 Top::break_access_->Lock();
929 } 934 }
930 935
931 936
932 ExecutionAccess::~ExecutionAccess() { 937 ExecutionAccess::~ExecutionAccess() {
933 Top::break_access_->Unlock(); 938 Top::break_access_->Unlock();
934 } 939 }
935 940
936 941
937 } } // namespace v8::internal 942 } } // namespace v8::internal
OLDNEW
« src/heap.cc ('K') | « src/top.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698