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

Side by Side Diff: src/top.cc

Issue 400001: Fix some presubmit errors. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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 | « no previous file | test/cctest/test-debug.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 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 923 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 while (!it.done()) { 934 while (!it.done()) {
935 JavaScriptFrame* frame = it.frame(); 935 JavaScriptFrame* frame = it.frame();
936 Context* context = Context::cast(frame->context()); 936 Context* context = Context::cast(frame->context());
937 if (context->global_context() == *Debug::debug_context()) { 937 if (context->global_context() == *Debug::debug_context()) {
938 it.Advance(); 938 it.Advance();
939 } else { 939 } else {
940 break; 940 break;
941 } 941 }
942 } 942 }
943 } 943 }
944 #endif // ENABLE_DEBUGGER_SUPPORT 944 #endif // ENABLE_DEBUGGER_SUPPORT
945 if (it.done()) return Handle<Context>::null(); 945 if (it.done()) return Handle<Context>::null();
946 JavaScriptFrame* frame = it.frame(); 946 JavaScriptFrame* frame = it.frame();
947 Context* context = Context::cast(frame->context()); 947 Context* context = Context::cast(frame->context());
948 return Handle<Context>(context->global_context()); 948 return Handle<Context>(context->global_context());
949 } 949 }
950 950
951 951
952 Object* Top::LookupSpecialFunction(JSObject* receiver, 952 Object* Top::LookupSpecialFunction(JSObject* receiver,
953 JSObject* prototype, 953 JSObject* prototype,
954 JSFunction* function) { 954 JSFunction* function) {
(...skipping 27 matching lines...) Expand all
982 Top::break_access_->Lock(); 982 Top::break_access_->Lock();
983 } 983 }
984 984
985 985
986 ExecutionAccess::~ExecutionAccess() { 986 ExecutionAccess::~ExecutionAccess() {
987 Top::break_access_->Unlock(); 987 Top::break_access_->Unlock();
988 } 988 }
989 989
990 990
991 } } // namespace v8::internal 991 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | test/cctest/test-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698