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

Side by Side Diff: src/messages.cc

Issue 437993003: Move a bunch of GC related files to heap/ subdirectory (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: make presubmit happy Created 6 years, 4 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/mark-compact-inl.h ('k') | src/objects.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/api.h" 7 #include "src/api.h"
8 #include "src/execution.h" 8 #include "src/execution.h"
9 #include "src/heap/spaces-inl.h"
9 #include "src/messages.h" 10 #include "src/messages.h"
10 #include "src/spaces-inl.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 14
15 15
16 // If no message listeners have been registered this one is called 16 // If no message listeners have been registered this one is called
17 // by default. 17 // by default.
18 void MessageHandler::DefaultMessageReport(Isolate* isolate, 18 void MessageHandler::DefaultMessageReport(Isolate* isolate,
19 const MessageLocation* loc, 19 const MessageLocation* loc,
20 Handle<Object> message_obj) { 20 Handle<Object> message_obj) {
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 156
157 SmartArrayPointer<char> MessageHandler::GetLocalizedMessage( 157 SmartArrayPointer<char> MessageHandler::GetLocalizedMessage(
158 Isolate* isolate, 158 Isolate* isolate,
159 Handle<Object> data) { 159 Handle<Object> data) {
160 HandleScope scope(isolate); 160 HandleScope scope(isolate);
161 return GetMessage(isolate, data)->ToCString(DISALLOW_NULLS); 161 return GetMessage(isolate, data)->ToCString(DISALLOW_NULLS);
162 } 162 }
163 163
164 164
165 } } // namespace v8::internal 165 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mark-compact-inl.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698