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

Side by Side Diff: src/objects.cc

Issue 552153: Add code to help diagnose the cause of issue 555. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/issue555/
Patch Set: Created 10 years, 11 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 | « no previous file | src/runtime.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-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 8285 matching lines...) Expand 10 before | Expand all | Expand 10 after
8296 // No break point. 8296 // No break point.
8297 if (break_point_objects()->IsUndefined()) return 0; 8297 if (break_point_objects()->IsUndefined()) return 0;
8298 // Single beak point. 8298 // Single beak point.
8299 if (!break_point_objects()->IsFixedArray()) return 1; 8299 if (!break_point_objects()->IsFixedArray()) return 1;
8300 // Multiple break points. 8300 // Multiple break points.
8301 return FixedArray::cast(break_point_objects())->length(); 8301 return FixedArray::cast(break_point_objects())->length();
8302 } 8302 }
8303 #endif 8303 #endif
8304 8304
8305 8305
8306 // BUG(555): This function is used to diagnose issue 555 from
8307 // runtime.cc. We avoid inlining it by placing it here.
8308 void CaptureInfoForIssue555(
8309 bool is_bootstrapping,
8310 AllocationSpace context_space,
8311 Object* context,
8312 Object* context_map,
8313 int context_length,
8314 Object* context_closure,
8315 Object* context_fcontext,
8316 Object* context_previous,
8317 Object* context_extension,
8318 Object* context_global,
8319 AllocationSpace function_space,
8320 Object* function,
8321 bool runs_in_inner_context,
8322 bool runs_in_outer_context) {
8323 // Kill the virtual machine.
8324 OS::Abort();
8325 }
8326
8306 } } // namespace v8::internal 8327 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698