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

Side by Side Diff: src/hydrogen.h

Issue 21065006: Replace HCheckPrototypeMaps by explicit map checks of constant values. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Prepare all HConstant js objects Created 7 years, 4 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/flag-definitions.h ('k') | src/hydrogen.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 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after
1555 void BuildCompareNil( 1555 void BuildCompareNil(
1556 HValue* value, 1556 HValue* value,
1557 Handle<Type> type, 1557 Handle<Type> type,
1558 int position, 1558 int position,
1559 HIfContinuation* continuation); 1559 HIfContinuation* continuation);
1560 1560
1561 HValue* BuildCreateAllocationMemento(HValue* previous_object, 1561 HValue* BuildCreateAllocationMemento(HValue* previous_object,
1562 int previous_object_size, 1562 int previous_object_size,
1563 HValue* payload); 1563 HValue* payload);
1564 1564
1565 void BuildConstantMapCheck(Handle<JSObject> constant, CompilationInfo* info);
1566 void BuildCheckPrototypeMaps(Handle<JSObject> prototype,
1567 Handle<JSObject> holder);
1568
1565 HInstruction* BuildGetNativeContext(); 1569 HInstruction* BuildGetNativeContext();
1566 HInstruction* BuildGetArrayFunction(); 1570 HInstruction* BuildGetArrayFunction();
1567 1571
1568 private: 1572 private:
1569 HGraphBuilder(); 1573 HGraphBuilder();
1570 1574
1571 void PadEnvironmentForContinuation(HBasicBlock* from, 1575 void PadEnvironmentForContinuation(HBasicBlock* from,
1572 HBasicBlock* continuation); 1576 HBasicBlock* continuation);
1573 1577
1574 CompilationInfo* info_; 1578 CompilationInfo* info_;
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
2325 EmbeddedVector<char, 64> filename_; 2329 EmbeddedVector<char, 64> filename_;
2326 HeapStringAllocator string_allocator_; 2330 HeapStringAllocator string_allocator_;
2327 StringStream trace_; 2331 StringStream trace_;
2328 int indent_; 2332 int indent_;
2329 }; 2333 };
2330 2334
2331 2335
2332 } } // namespace v8::internal 2336 } } // namespace v8::internal
2333 2337
2334 #endif // V8_HYDROGEN_H_ 2338 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698