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

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

Issue 857002: Reland 4068 which wrapped Array methods into native builtins (reverted in 4075). (Closed)
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
« 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
331 }; 330 };
332 331
333 StubCompiler() : scope_(), masm_(NULL, 256), failure_(NULL) { } 332 StubCompiler() : scope_(), masm_(NULL, 256), failure_(NULL) { }
334 333
335 Object* CompileCallInitialize(Code::Flags flags); 334 Object* CompileCallInitialize(Code::Flags flags);
336 Object* CompileCallPreMonomorphic(Code::Flags flags); 335 Object* CompileCallPreMonomorphic(Code::Flags flags);
337 Object* CompileCallNormal(Code::Flags flags); 336 Object* CompileCallNormal(Code::Flags flags);
338 Object* CompileCallMegamorphic(Code::Flags flags); 337 Object* CompileCallMegamorphic(Code::Flags flags);
339 Object* CompileCallMiss(Code::Flags flags); 338 Object* CompileCallMiss(Code::Flags flags);
340 #ifdef ENABLE_DEBUGGER_SUPPORT 339 #ifdef ENABLE_DEBUGGER_SUPPORT
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 Object* CompileConstructStub(SharedFunctionInfo* shared); 586 Object* CompileConstructStub(SharedFunctionInfo* shared);
588 587
589 private: 588 private:
590 Object* GetCode(); 589 Object* GetCode();
591 }; 590 };
592 591
593 592
594 } } // namespace v8::internal 593 } } // namespace v8::internal
595 594
596 #endif // V8_STUB_CACHE_H_ 595 #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