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

Side by Side Diff: src/isolate.h

Issue 16955008: Enable weak embedded maps in optimized code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 unsigned int magic2)); 734 unsigned int magic2));
735 Handle<JSArray> CaptureCurrentStackTrace( 735 Handle<JSArray> CaptureCurrentStackTrace(
736 int frame_limit, 736 int frame_limit,
737 StackTrace::StackTraceOptions options); 737 StackTrace::StackTraceOptions options);
738 738
739 Handle<JSArray> CaptureSimpleStackTrace(Handle<JSObject> error_object, 739 Handle<JSArray> CaptureSimpleStackTrace(Handle<JSObject> error_object,
740 Handle<Object> caller, 740 Handle<Object> caller,
741 int limit); 741 int limit);
742 void CaptureAndSetDetailedStackTrace(Handle<JSObject> error_object); 742 void CaptureAndSetDetailedStackTrace(Handle<JSObject> error_object);
743 743
744 StackFrame* TopOptimizedFrame();
Michael Starzinger 2013/07/02 14:20:54 Can we inline this functionality into mark-compact
ulan 2013/07/02 14:45:41 Done.
745
744 // Returns if the top context may access the given global object. If 746 // Returns if the top context may access the given global object. If
745 // the result is false, the pending exception is guaranteed to be 747 // the result is false, the pending exception is guaranteed to be
746 // set. 748 // set.
747 bool MayNamedAccess(JSObject* receiver, 749 bool MayNamedAccess(JSObject* receiver,
748 Object* key, 750 Object* key,
749 v8::AccessType type); 751 v8::AccessType type);
750 bool MayIndexedAccess(JSObject* receiver, 752 bool MayIndexedAccess(JSObject* receiver,
751 uint32_t index, 753 uint32_t index,
752 v8::AccessType type); 754 v8::AccessType type);
753 755
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
1491 1493
1492 // Mark the native context with out of memory. 1494 // Mark the native context with out of memory.
1493 inline void Context::mark_out_of_memory() { 1495 inline void Context::mark_out_of_memory() {
1494 native_context()->set_out_of_memory(HEAP->true_value()); 1496 native_context()->set_out_of_memory(HEAP->true_value());
1495 } 1497 }
1496 1498
1497 1499
1498 } } // namespace v8::internal 1500 } } // namespace v8::internal
1499 1501
1500 #endif // V8_ISOLATE_H_ 1502 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/isolate.cc » ('j') | src/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698