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

Side by Side Diff: src/objects.h

Issue 25473002: Defer allocation of native function literals. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Pass along extension object in AST node. Created 7 years, 2 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/hydrogen.cc ('k') | src/parser.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 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after
1189 V(kLiveEdit, "LiveEdit") \ 1189 V(kLiveEdit, "LiveEdit") \
1190 V(kLookupVariableInCountOperation, \ 1190 V(kLookupVariableInCountOperation, \
1191 "lookup variable in count operation") \ 1191 "lookup variable in count operation") \
1192 V(kMapIsNoLongerInEax, "Map is no longer in eax") \ 1192 V(kMapIsNoLongerInEax, "Map is no longer in eax") \
1193 V(kModuleDeclaration, "Module declaration") \ 1193 V(kModuleDeclaration, "Module declaration") \
1194 V(kModuleLiteral, "Module literal") \ 1194 V(kModuleLiteral, "Module literal") \
1195 V(kModulePath, "Module path") \ 1195 V(kModulePath, "Module path") \
1196 V(kModuleStatement, "Module statement") \ 1196 V(kModuleStatement, "Module statement") \
1197 V(kModuleVariable, "Module variable") \ 1197 V(kModuleVariable, "Module variable") \
1198 V(kModuleUrl, "Module url") \ 1198 V(kModuleUrl, "Module url") \
1199 V(kNativeFunctionLiteral, "Native function literal") \
1199 V(kNoCasesLeft, "no cases left") \ 1200 V(kNoCasesLeft, "no cases left") \
1200 V(kNoEmptyArraysHereInEmitFastAsciiArrayJoin, \ 1201 V(kNoEmptyArraysHereInEmitFastAsciiArrayJoin, \
1201 "No empty arrays here in EmitFastAsciiArrayJoin") \ 1202 "No empty arrays here in EmitFastAsciiArrayJoin") \
1202 V(kNonInitializerAssignmentToConst, \ 1203 V(kNonInitializerAssignmentToConst, \
1203 "non-initializer assignment to const") \ 1204 "non-initializer assignment to const") \
1204 V(kNonSmiIndex, "Non-smi index") \ 1205 V(kNonSmiIndex, "Non-smi index") \
1205 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \ 1206 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \
1206 V(kNonSmiValue, "Non-smi value") \ 1207 V(kNonSmiValue, "Non-smi value") \
1207 V(kNotEnoughVirtualRegistersForValues, \ 1208 V(kNotEnoughVirtualRegistersForValues, \
1208 "not enough virtual registers for values") \ 1209 "not enough virtual registers for values") \
(...skipping 23 matching lines...) Expand all
1232 V(kPropertyAllocationCountFailed, "Property allocation count failed") \ 1233 V(kPropertyAllocationCountFailed, "Property allocation count failed") \
1233 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ 1234 V(kReceivedInvalidReturnAddress, "Received invalid return address") \
1234 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ 1235 V(kReferenceToAVariableWhichRequiresDynamicLookup, \
1235 "reference to a variable which requires dynamic lookup") \ 1236 "reference to a variable which requires dynamic lookup") \
1236 V(kReferenceToGlobalLexicalVariable, \ 1237 V(kReferenceToGlobalLexicalVariable, \
1237 "reference to global lexical variable") \ 1238 "reference to global lexical variable") \
1238 V(kReferenceToUninitializedVariable, "reference to uninitialized variable") \ 1239 V(kReferenceToUninitializedVariable, "reference to uninitialized variable") \
1239 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ 1240 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \
1240 V(kRegisterWasClobbered, "register was clobbered") \ 1241 V(kRegisterWasClobbered, "register was clobbered") \
1241 V(kScopedBlock, "ScopedBlock") \ 1242 V(kScopedBlock, "ScopedBlock") \
1242 V(kSharedFunctionInfoLiteral, "Shared function info literal") \
1243 V(kSmiAdditionOverflow, "Smi addition overflow") \ 1243 V(kSmiAdditionOverflow, "Smi addition overflow") \
1244 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ 1244 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \
1245 V(kStackFrameTypesMustMatch, "stack frame types must match") \ 1245 V(kStackFrameTypesMustMatch, "stack frame types must match") \
1246 V(kSwitchStatementMixedOrNonLiteralSwitchLabels, \ 1246 V(kSwitchStatementMixedOrNonLiteralSwitchLabels, \
1247 "SwitchStatement: mixed or non-literal switch labels") \ 1247 "SwitchStatement: mixed or non-literal switch labels") \
1248 V(kSwitchStatementTooManyClauses, "SwitchStatement: too many clauses") \ 1248 V(kSwitchStatementTooManyClauses, "SwitchStatement: too many clauses") \
1249 V(kTheInstructionShouldBeALui, "The instruction should be a lui") \ 1249 V(kTheInstructionShouldBeALui, "The instruction should be a lui") \
1250 V(kTheInstructionShouldBeAnOri, "The instruction should be an ori") \ 1250 V(kTheInstructionShouldBeAnOri, "The instruction should be an ori") \
1251 V(kTheInstructionToPatchShouldBeALoadFromPc, \ 1251 V(kTheInstructionToPatchShouldBeALoadFromPc, \
1252 "The instruction to patch should be a load from pc") \ 1252 "The instruction to patch should be a load from pc") \
(...skipping 8974 matching lines...) Expand 10 before | Expand all | Expand 10 after
10227 } else { 10227 } else {
10228 value &= ~(1 << bit_position); 10228 value &= ~(1 << bit_position);
10229 } 10229 }
10230 return value; 10230 return value;
10231 } 10231 }
10232 }; 10232 };
10233 10233
10234 } } // namespace v8::internal 10234 } } // namespace v8::internal
10235 10235
10236 #endif // V8_OBJECTS_H_ 10236 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698