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

Side by Side Diff: src/frames-inl.h

Issue 10701054: Enable stub generation using Hydrogen/Lithium (again) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merge with latest Created 8 years 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/frames.cc ('k') | src/full-codegen.h » ('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 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 } 228 }
229 229
230 230
231 inline Object* JavaScriptFrame::function() const { 231 inline Object* JavaScriptFrame::function() const {
232 Object* result = function_slot_object(); 232 Object* result = function_slot_object();
233 ASSERT(result->IsJSFunction()); 233 ASSERT(result->IsJSFunction());
234 return result; 234 return result;
235 } 235 }
236 236
237 237
238 inline CompiledFrame::CompiledFrame(StackFrameIterator* iterator)
239 : JavaScriptFrame(iterator) {
240 }
241
242
243 inline StubFrame::StubFrame(StackFrameIterator* iterator)
244 : CompiledFrame(iterator) {
245 }
246
247
238 inline OptimizedFrame::OptimizedFrame(StackFrameIterator* iterator) 248 inline OptimizedFrame::OptimizedFrame(StackFrameIterator* iterator)
239 : JavaScriptFrame(iterator) { 249 : CompiledFrame(iterator) {
240 } 250 }
241 251
242 252
243 inline ArgumentsAdaptorFrame::ArgumentsAdaptorFrame( 253 inline ArgumentsAdaptorFrame::ArgumentsAdaptorFrame(
244 StackFrameIterator* iterator) : JavaScriptFrame(iterator) { 254 StackFrameIterator* iterator) : JavaScriptFrame(iterator) {
245 } 255 }
246 256
247 257
248 inline InternalFrame::InternalFrame(StackFrameIterator* iterator) 258 inline InternalFrame::InternalFrame(StackFrameIterator* iterator)
249 : StandardFrame(iterator) { 259 : StandardFrame(iterator) {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 template<typename Iterator> 329 template<typename Iterator>
320 void JavaScriptFrameIteratorTemp<Iterator>::Reset() { 330 void JavaScriptFrameIteratorTemp<Iterator>::Reset() {
321 iterator_.Reset(); 331 iterator_.Reset();
322 if (!done()) Advance(); 332 if (!done()) Advance();
323 } 333 }
324 334
325 335
326 } } // namespace v8::internal 336 } } // namespace v8::internal
327 337
328 #endif // V8_FRAMES_INL_H_ 338 #endif // V8_FRAMES_INL_H_
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | src/full-codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698