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

Side by Side Diff: src/frames.h

Issue 9976003: Minimize uses of lazy initialization by adding explicit initialization functions. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address Daniel's comments. Created 8 years, 8 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/assembler.cc ('k') | src/frames.cc » ('j') | src/v8.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 22 matching lines...) Expand all
33 #include "safepoint-table.h" 33 #include "safepoint-table.h"
34 34
35 namespace v8 { 35 namespace v8 {
36 namespace internal { 36 namespace internal {
37 37
38 typedef uint32_t RegList; 38 typedef uint32_t RegList;
39 39
40 // Get the number of registers in a given register list. 40 // Get the number of registers in a given register list.
41 int NumRegs(RegList list); 41 int NumRegs(RegList list);
42 42
43 void SetUpJSCallerSavedCodeData();
44
43 // Return the code of the n-th saved register available to JavaScript. 45 // Return the code of the n-th saved register available to JavaScript.
44 int JSCallerSavedCode(int n); 46 int JSCallerSavedCode(int n);
45 47
46 48
47 // Forward declarations. 49 // Forward declarations.
48 class StackFrameIterator; 50 class StackFrameIterator;
49 class ThreadLocalTop; 51 class ThreadLocalTop;
50 class Isolate; 52 class Isolate;
51 53
52 class InnerPointerToCodeCache { 54 class InnerPointerToCodeCache {
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 }; 883 };
882 884
883 885
884 // Reads all frames on the current stack and copies them into the current 886 // Reads all frames on the current stack and copies them into the current
885 // zone memory. 887 // zone memory.
886 Vector<StackFrame*> CreateStackMap(); 888 Vector<StackFrame*> CreateStackMap();
887 889
888 } } // namespace v8::internal 890 } } // namespace v8::internal
889 891
890 #endif // V8_FRAMES_H_ 892 #endif // V8_FRAMES_H_
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/frames.cc » ('j') | src/v8.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698