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

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

Issue 11528003: Re-land Crankshaft-generated KeyedLoad stubs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback 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/ia32/lithium-codegen-ia32.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 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) 238 inline StubFrame::StubFrame(StackFrameIterator* iterator)
239 : StandardFrame(iterator) {
240 }
241
242
243 inline OptimizedFrame::OptimizedFrame(StackFrameIterator* iterator)
239 : JavaScriptFrame(iterator) { 244 : JavaScriptFrame(iterator) {
240 } 245 }
241 246
242 247
243 inline StubFrame::StubFrame(StackFrameIterator* iterator)
244 : CompiledFrame(iterator) {
245 }
246
247
248 inline OptimizedFrame::OptimizedFrame(StackFrameIterator* iterator)
249 : CompiledFrame(iterator) {
250 }
251
252
253 inline ArgumentsAdaptorFrame::ArgumentsAdaptorFrame( 248 inline ArgumentsAdaptorFrame::ArgumentsAdaptorFrame(
254 StackFrameIterator* iterator) : JavaScriptFrame(iterator) { 249 StackFrameIterator* iterator) : JavaScriptFrame(iterator) {
255 } 250 }
256 251
257 252
258 inline InternalFrame::InternalFrame(StackFrameIterator* iterator) 253 inline InternalFrame::InternalFrame(StackFrameIterator* iterator)
259 : StandardFrame(iterator) { 254 : StandardFrame(iterator) {
260 } 255 }
261 256
262 257
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 template<typename Iterator> 324 template<typename Iterator>
330 void JavaScriptFrameIteratorTemp<Iterator>::Reset() { 325 void JavaScriptFrameIteratorTemp<Iterator>::Reset() {
331 iterator_.Reset(); 326 iterator_.Reset();
332 if (!done()) Advance(); 327 if (!done()) Advance();
333 } 328 }
334 329
335 330
336 } } // namespace v8::internal 331 } } // namespace v8::internal
337 332
338 #endif // V8_FRAMES_INL_H_ 333 #endif // V8_FRAMES_INL_H_
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698