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

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

Issue 269343003: Remove GenerateBooleanCheck() since we have a boolean map now. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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/mips/stub-cache-mips.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_STUB_CACHE_H_ 5 #ifndef V8_STUB_CACHE_H_
6 #define V8_STUB_CACHE_H_ 6 #define V8_STUB_CACHE_H_
7 7
8 #include "allocation.h" 8 #include "allocation.h"
9 #include "arguments.h" 9 #include "arguments.h"
10 #include "code-stubs.h" 10 #include "code-stubs.h"
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 Register CheckPrototypes(Handle<HeapType> type, 369 Register CheckPrototypes(Handle<HeapType> type,
370 Register object_reg, 370 Register object_reg,
371 Handle<JSObject> holder, 371 Handle<JSObject> holder,
372 Register holder_reg, 372 Register holder_reg,
373 Register scratch1, 373 Register scratch1,
374 Register scratch2, 374 Register scratch2,
375 Handle<Name> name, 375 Handle<Name> name,
376 Label* miss, 376 Label* miss,
377 PrototypeCheckType check = CHECK_ALL_MAPS); 377 PrototypeCheckType check = CHECK_ALL_MAPS);
378 378
379 void GenerateBooleanCheck(Register object, Label* miss);
380
381 static void GenerateFastApiCall(MacroAssembler* masm, 379 static void GenerateFastApiCall(MacroAssembler* masm,
382 const CallOptimization& optimization, 380 const CallOptimization& optimization,
383 Handle<Map> receiver_map, 381 Handle<Map> receiver_map,
384 Register receiver, 382 Register receiver,
385 Register scratch, 383 Register scratch,
386 bool is_store, 384 bool is_store,
387 int argc, 385 int argc,
388 Register* values); 386 Register* values);
389 387
390 protected: 388 protected:
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 Handle<JSFunction> constant_function_; 826 Handle<JSFunction> constant_function_;
829 bool is_simple_api_call_; 827 bool is_simple_api_call_;
830 Handle<FunctionTemplateInfo> expected_receiver_type_; 828 Handle<FunctionTemplateInfo> expected_receiver_type_;
831 Handle<CallHandlerInfo> api_call_info_; 829 Handle<CallHandlerInfo> api_call_info_;
832 }; 830 };
833 831
834 832
835 } } // namespace v8::internal 833 } } // namespace v8::internal
836 834
837 #endif // V8_STUB_CACHE_H_ 835 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/mips/stub-cache-mips.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698