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

Side by Side Diff: src/x87/lithium-x87.h

Issue 1308743005: X87: Crankshaft is now able to compile top level code even if there is a ScriptContext. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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/x87/lithium-codegen-x87.cc ('k') | src/x87/lithium-x87.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_X87_LITHIUM_X87_H_ 5 #ifndef V8_X87_LITHIUM_X87_H_
6 #define V8_X87_LITHIUM_X87_H_ 6 #define V8_X87_LITHIUM_X87_H_
7 7
8 #include "src/hydrogen.h" 8 #include "src/hydrogen.h"
9 #include "src/lithium.h" 9 #include "src/lithium.h"
10 #include "src/lithium-allocator.h" 10 #include "src/lithium-allocator.h"
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 V(ModByPowerOf2I) \ 127 V(ModByPowerOf2I) \
128 V(ModI) \ 128 V(ModI) \
129 V(MulI) \ 129 V(MulI) \
130 V(NumberTagD) \ 130 V(NumberTagD) \
131 V(NumberTagI) \ 131 V(NumberTagI) \
132 V(NumberTagU) \ 132 V(NumberTagU) \
133 V(NumberUntagD) \ 133 V(NumberUntagD) \
134 V(OsrEntry) \ 134 V(OsrEntry) \
135 V(Parameter) \ 135 V(Parameter) \
136 V(Power) \ 136 V(Power) \
137 V(Prologue) \
137 V(PushArgument) \ 138 V(PushArgument) \
138 V(RegExpLiteral) \ 139 V(RegExpLiteral) \
139 V(Return) \ 140 V(Return) \
140 V(SeqStringGetChar) \ 141 V(SeqStringGetChar) \
141 V(SeqStringSetChar) \ 142 V(SeqStringSetChar) \
142 V(ShiftI) \ 143 V(ShiftI) \
143 V(SmiTag) \ 144 V(SmiTag) \
144 V(SmiUntag) \ 145 V(SmiUntag) \
145 V(StackCheck) \ 146 V(StackCheck) \
146 V(StoreCodeEntry) \ 147 V(StoreCodeEntry) \
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 } 404 }
404 405
405 bool jumps_to_join() const { return block_->predecessors()->length() > 1; } 406 bool jumps_to_join() const { return block_->predecessors()->length() > 1; }
406 HBasicBlock* block() const { return block_; } 407 HBasicBlock* block() const { return block_; }
407 408
408 private: 409 private:
409 HBasicBlock* block_; 410 HBasicBlock* block_;
410 }; 411 };
411 412
412 413
414 class LPrologue final : public LTemplateInstruction<0, 0, 0> {
415 public:
416 DECLARE_CONCRETE_INSTRUCTION(Prologue, "prologue")
417 };
418
419
413 class LLazyBailout final : public LTemplateInstruction<0, 0, 0> { 420 class LLazyBailout final : public LTemplateInstruction<0, 0, 0> {
414 public: 421 public:
415 DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout") 422 DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout")
416 }; 423 };
417 424
418 425
419 class LDummy final : public LTemplateInstruction<1, 0, 0> { 426 class LDummy final : public LTemplateInstruction<1, 0, 0> {
420 public: 427 public:
421 LDummy() {} 428 LDummy() {}
422 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy") 429 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy")
(...skipping 2477 matching lines...) Expand 10 before | Expand all | Expand 10 after
2900 2907
2901 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2908 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2902 }; 2909 };
2903 2910
2904 #undef DECLARE_HYDROGEN_ACCESSOR 2911 #undef DECLARE_HYDROGEN_ACCESSOR
2905 #undef DECLARE_CONCRETE_INSTRUCTION 2912 #undef DECLARE_CONCRETE_INSTRUCTION
2906 2913
2907 } } // namespace v8::internal 2914 } } // namespace v8::internal
2908 2915
2909 #endif // V8_X87_LITHIUM_X87_H_ 2916 #endif // V8_X87_LITHIUM_X87_H_
OLDNEW
« no previous file with comments | « src/x87/lithium-codegen-x87.cc ('k') | src/x87/lithium-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698