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

Side by Side Diff: src/stub-cache.h

Issue 819001: Revert change to always call builtins for Array functions.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 9 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/ic.cc ('k') | src/stub-cache.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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 Handle<Code> ComputeCallMiss(int argc); 319 Handle<Code> ComputeCallMiss(int argc);
320 320
321 321
322 // The stub compiler compiles stubs for the stub cache. 322 // The stub compiler compiles stubs for the stub cache.
323 class StubCompiler BASE_EMBEDDED { 323 class StubCompiler BASE_EMBEDDED {
324 public: 324 public:
325 enum CheckType { 325 enum CheckType {
326 RECEIVER_MAP_CHECK, 326 RECEIVER_MAP_CHECK,
327 STRING_CHECK, 327 STRING_CHECK,
328 NUMBER_CHECK, 328 NUMBER_CHECK,
329 BOOLEAN_CHECK 329 BOOLEAN_CHECK,
330 JSARRAY_HAS_FAST_ELEMENTS_CHECK
330 }; 331 };
331 332
332 StubCompiler() : scope_(), masm_(NULL, 256), failure_(NULL) { } 333 StubCompiler() : scope_(), masm_(NULL, 256), failure_(NULL) { }
333 334
334 Object* CompileCallInitialize(Code::Flags flags); 335 Object* CompileCallInitialize(Code::Flags flags);
335 Object* CompileCallPreMonomorphic(Code::Flags flags); 336 Object* CompileCallPreMonomorphic(Code::Flags flags);
336 Object* CompileCallNormal(Code::Flags flags); 337 Object* CompileCallNormal(Code::Flags flags);
337 Object* CompileCallMegamorphic(Code::Flags flags); 338 Object* CompileCallMegamorphic(Code::Flags flags);
338 Object* CompileCallMiss(Code::Flags flags); 339 Object* CompileCallMiss(Code::Flags flags);
339 #ifdef ENABLE_DEBUGGER_SUPPORT 340 #ifdef ENABLE_DEBUGGER_SUPPORT
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 Object* CompileConstructStub(SharedFunctionInfo* shared); 587 Object* CompileConstructStub(SharedFunctionInfo* shared);
587 588
588 private: 589 private:
589 Object* GetCode(); 590 Object* GetCode();
590 }; 591 };
591 592
592 593
593 } } // namespace v8::internal 594 } } // namespace v8::internal
594 595
595 #endif // V8_STUB_CACHE_H_ 596 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698