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

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

Issue 24027004: thread isolate for HConstant::handle (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | no next file » | 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 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after
1214 return hydrogen()->ExternalReferenceValue(); 1214 return hydrogen()->ExternalReferenceValue();
1215 } 1215 }
1216 }; 1216 };
1217 1217
1218 1218
1219 class LConstantT V8_FINAL : public LTemplateInstruction<1, 0, 0> { 1219 class LConstantT V8_FINAL : public LTemplateInstruction<1, 0, 0> {
1220 public: 1220 public:
1221 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") 1221 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t")
1222 DECLARE_HYDROGEN_ACCESSOR(Constant) 1222 DECLARE_HYDROGEN_ACCESSOR(Constant)
1223 1223
1224 Handle<Object> value() const { return hydrogen()->handle(); } 1224 Handle<Object> value(Isolate* isolate) const {
1225 return hydrogen()->handle(isolate);
1226 }
1225 }; 1227 };
1226 1228
1227 1229
1228 class LBranch V8_FINAL : public LControlInstruction<1, 0> { 1230 class LBranch V8_FINAL : public LControlInstruction<1, 0> {
1229 public: 1231 public:
1230 explicit LBranch(LOperand* value) { 1232 explicit LBranch(LOperand* value) {
1231 inputs_[0] = value; 1233 inputs_[0] = value;
1232 } 1234 }
1233 1235
1234 LOperand* value() { return inputs_[0]; } 1236 LOperand* value() { return inputs_[0]; }
(...skipping 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after
2708 2710
2709 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2711 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2710 }; 2712 };
2711 2713
2712 #undef DECLARE_HYDROGEN_ACCESSOR 2714 #undef DECLARE_HYDROGEN_ACCESSOR
2713 #undef DECLARE_CONCRETE_INSTRUCTION 2715 #undef DECLARE_CONCRETE_INSTRUCTION
2714 2716
2715 } } // namespace v8::int 2717 } } // namespace v8::int
2716 2718
2717 #endif // V8_X64_LITHIUM_X64_H_ 2719 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698