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

Side by Side Diff: src/execution.h

Issue 114036: Push bleeding_edge revision 2020 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 11 years, 7 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/contexts.h ('k') | src/execution.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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 static Object* DebugBreakHelper(); 122 static Object* DebugBreakHelper();
123 #endif 123 #endif
124 124
125 // If the stack guard is triggered, but it is not an actual 125 // If the stack guard is triggered, but it is not an actual
126 // stack overflow, then handle the interruption accordingly. 126 // stack overflow, then handle the interruption accordingly.
127 static Object* HandleStackGuardInterrupt(); 127 static Object* HandleStackGuardInterrupt();
128 128
129 // Get a function delegate (or undefined) for the given non-function 129 // Get a function delegate (or undefined) for the given non-function
130 // object. Used for support calling objects as functions. 130 // object. Used for support calling objects as functions.
131 static Handle<Object> GetFunctionDelegate(Handle<Object> object); 131 static Handle<Object> GetFunctionDelegate(Handle<Object> object);
132
133 // Get a function delegate (or undefined) for the given non-function
134 // object. Used for support calling objects as constructors.
135 static Handle<Object> GetConstructorDelegate(Handle<Object> object);
132 }; 136 };
133 137
134 138
135 class ExecutionAccess; 139 class ExecutionAccess;
136 140
137 141
138 // Stack guards are used to limit the number of nested invocations of 142 // Stack guards are used to limit the number of nested invocations of
139 // JavaScript and the stack size used in each invocation. 143 // JavaScript and the stack size used in each invocation.
140 class StackGuard BASE_EMBEDDED { 144 class StackGuard BASE_EMBEDDED {
141 public: 145 public:
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 v8::Handle<v8::String> name); 274 v8::Handle<v8::String> name);
271 static v8::Handle<v8::Value> GC(const v8::Arguments& args); 275 static v8::Handle<v8::Value> GC(const v8::Arguments& args);
272 private: 276 private:
273 static const char* kSource; 277 static const char* kSource;
274 }; 278 };
275 279
276 280
277 } } // namespace v8::internal 281 } } // namespace v8::internal
278 282
279 #endif // V8_EXECUTION_H_ 283 #endif // V8_EXECUTION_H_
OLDNEW
« no previous file with comments | « src/contexts.h ('k') | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698